Skip to content

Update CI build

Update CI build #525

Triggered via push March 13, 2025 00:56
Status Success
Total duration 1m 55s
Artifacts

ci.yml

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

Annotations

34 warnings
PHP 8.4
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/
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L177
src/EventLoop/Driver/EvDriver.php:177:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedPropertyTypeCoercion: $this->events expects 'array<string, EvWatcher>', parent type `non-empty-array<array-key, EvWatcher>` provided (see https://psalm.dev/196)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:44: MixedPropertyFetch: Cannot fetch property on mixed var $callback (see https://psalm.dev/034)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:38: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:24: MixedArrayOffset: Cannot access value on variable $this->events using mixed offset (see https://psalm.dev/031)
PHP 8.3 : src/EventLoop/Driver/EvDriver.php#L168
src/EventLoop/Driver/EvDriver.php:168:32: MixedAssignment: Unable to determine the type that $callback is being assigned to (see https://psalm.dev/032)
PHP 8.3 : 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)
PHP 8.3 : 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)
PHP 8.3 : examples/benchmark-memory.php#L24
examples/benchmark-memory.php:24:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
PHP 8.3
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/
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L177
src/EventLoop/Driver/EvDriver.php:177:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedPropertyTypeCoercion: $this->events expects 'array<string, EvWatcher>', parent type `non-empty-array<array-key, EvWatcher>` provided (see https://psalm.dev/196)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:44: MixedPropertyFetch: Cannot fetch property on mixed var $callback (see https://psalm.dev/034)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:38: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:24: MixedArrayOffset: Cannot access value on variable $this->events using mixed offset (see https://psalm.dev/031)
PHP 8.1 : src/EventLoop/Driver/EvDriver.php#L168
src/EventLoop/Driver/EvDriver.php:168:32: MixedAssignment: Unable to determine the type that $callback is being assigned to (see https://psalm.dev/032)
PHP 8.1 : 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)
PHP 8.1 : 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)
PHP 8.1 : examples/benchmark-memory.php#L24
examples/benchmark-memory.php:24:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
PHP 8.1
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/
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L177
src/EventLoop/Driver/EvDriver.php:177:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedPropertyTypeCoercion: $this->events expects 'array<string, EvWatcher>', parent type `non-empty-array<array-key, EvWatcher>` provided (see https://psalm.dev/196)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L173
src/EventLoop/Driver/EvDriver.php:173:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:44: MixedPropertyFetch: Cannot fetch property on mixed var $callback (see https://psalm.dev/034)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:38: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:24: MixedArrayOffset: Cannot access value on variable $this->events using mixed offset (see https://psalm.dev/031)
PHP 8.2 : src/EventLoop/Driver/EvDriver.php#L168
src/EventLoop/Driver/EvDriver.php:168:32: MixedAssignment: Unable to determine the type that $callback is being assigned to (see https://psalm.dev/032)
PHP 8.2 : 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)
PHP 8.2 : 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)
PHP 8.2 : examples/benchmark-memory.php#L24
examples/benchmark-memory.php:24:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
PHP 8.2
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/