Skip to content

⬆️ Update react/promise requirement from ^2.9 to ^3.1 #19

⬆️ Update react/promise requirement from ^2.9 to ^3.1

⬆️ Update react/promise requirement from ^2.9 to ^3.1 #19

Triggered via push November 28, 2023 15:31
Status Failure
Total duration 25s
Artifacts

ci.yaml

on: push
Matrix: StaticAnalysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/DTMF/Handler.php#L29
Strict comparison using !== between RTCKit\FiCore\Command\Channel\DTMF\ActionEnum and RTCKit\FiCore\Command\Channel\DTMF\ActionEnum::Send will always evaluate to false.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/DTMF/Handler.php#L41
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<mixed>::then() expects (callable(mixed): (React\Promise\PromiseInterface<RTCKit\FiCore\Command\Channel\DTMF\Response>|RTCKit\FiCore\Command\Channel\DTMF\Response))|null, Closure(RTCKit\ESL\Response): RTCKit\FiCore\Command\Channel\DTMF\Response given.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Hangup/Handler.php#L64
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<mixed>::then() expects (callable(mixed): mixed)|null, Closure(RTCKit\ESL\Response): React\Promise\PromiseInterface<mixed> given.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Hangup/Handler.php#L75
Function React\Promise\resolve invoked with 0 parameters, 1 required.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Hangup/Handler.php#L75
Unable to resolve the template type T in call to function React\Promise\resolve
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Originate/Handler.php#L59
Call to function assert() with true will always evaluate to true.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Originate/Handler.php#L59
Instanceof between RTCKit\FiCore\Switch\OriginateJob and RTCKit\FiCore\Switch\OriginateJob will always evaluate to true.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Originate/Handler.php#L242
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<mixed>::then() expects (callable(mixed): (React\Promise\PromiseInterface<RTCKit\FiCore\Command\Channel\Originate\Response>|RTCKit\FiCore\Command\Channel\Originate\Response))|null, Closure(RTCKit\ESL\Response): RTCKit\FiCore\Command\Channel\Originate\Response given.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Originate/Handler.php#L300
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<mixed>::then() expects (callable(mixed): mixed)|null, Closure(RTCKit\ESL\Response): React\Promise\PromiseInterface given.
StaticAnalysis (PHP 8.1 on ubuntu-20.04): src/Command/Channel/Originate/Handler.php#L320
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<mixed>::then() expects (callable(mixed): mixed)|null, Closure(bool): React\Promise\PromiseInterface given.
StaticAnalysis (PHP 8.1 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/