Add an event loop driver on the Io\Poll API of PHP 8.6 - #128
Open
nicolas-grekas wants to merge 2 commits into
Open
nicolas-grekas wants to merge 2 commits into
nicolas-grekas wants to merge 2 commits into
Annotations
11 warnings and 1 notice
|
Run Psalm:
src/EventLoop/Driver/UvDriver.php#L53
src/EventLoop/Driver/UvDriver.php:53:32: MixedArgument: Argument 1 of uv_poll_start cannot be mixed, expecting resource (see https://psalm.dev/030)
|
|
Run Psalm:
src/EventLoop/Driver/StreamSelectDriver.php#L256
src/EventLoop/Driver/StreamSelectDriver.php:256:32: MixedArgumentTypeCoercion: Argument 1 of set_error_handler expects callable(int, string, string=, int=, array<array-key, mixed>=):bool|null, but parent type Closure provided (see https://psalm.dev/194)
|
|
Run Psalm:
src/EventLoop/Driver/StreamSelectDriver.php#L50
src/EventLoop/Driver/StreamSelectDriver.php:50:30: MixedPropertyTypeCoercion: $this->signalQueue expects 'SplQueue<int>', parent type `SplQueue<mixed>` provided (see https://psalm.dev/196)
|
|
Run Psalm:
src/EventLoop/Driver/IoPollDriver.php#L351
src/EventLoop/Driver/IoPollDriver.php:351:26: MixedArrayOffset: Cannot access value on variable $this->writeCallbacks using mixed offset (see https://psalm.dev/031)
|
|
Run Psalm:
src/EventLoop/Driver/IoPollDriver.php#L345
src/EventLoop/Driver/IoPollDriver.php:345:26: MixedArrayOffset: Cannot access value on variable $this->readCallbacks using mixed offset (see https://psalm.dev/031)
|
|
Run Psalm:
src/EventLoop/Driver/IoPollDriver.php#L338
src/EventLoop/Driver/IoPollDriver.php:338:13: MixedAssignment: Unable to determine the type that $streamId is being assigned to (see https://psalm.dev/032)
|
|
Run Psalm:
src/EventLoop/Driver/IoPollDriver.php#L78
src/EventLoop/Driver/IoPollDriver.php:78:30: MixedPropertyTypeCoercion: $this->signalQueue expects 'SplQueue<int>', parent type `SplQueue<mixed>` provided (see https://psalm.dev/196)
|
|
Run Psalm:
examples/benchmark-timers-delay.php#L13
examples/benchmark-timers-delay.php:13:29: MixedArgumentTypeCoercion: Argument 2 of Revolt\EventLoop::delay expects Closure(string):void, but parent type Closure provided (see https://psalm.dev/194)
|
|
Run Psalm:
examples/benchmark-ticks-delay.php#L13
examples/benchmark-ticks-delay.php:13:26: MixedArgumentTypeCoercion: Argument 1 of Revolt\EventLoop::defer expects Closure(string):void, but parent type Closure provided (see https://psalm.dev/194)
|
|
Run Psalm:
examples/benchmark-memory.php#L28
examples/benchmark-memory.php:28:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
|
|
Get Composer cache directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading