Implement custom FiberFactory interface #490
Annotations
2 errors and 13 warnings
Run Psalm:
src/EventLoop/TracingFiberFactory.php#L40
src/EventLoop/TracingFiberFactory.php:40:9: InaccessibleProperty: Revolt\EventLoop\TracingFiberFactory::$map is marked readonly (see https://psalm.dev/054)
|
Run Psalm
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, nick-invision/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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/
|
Run Psalm:
examples/benchmark-memory.php#L24
examples/benchmark-memory.php:24:21: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
|
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-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:
src/EventLoop/Driver/EvDriver.php#L169
src/EventLoop/Driver/EvDriver.php:169:32: MixedAssignment: Unable to determine the type that $callback is being assigned to (see https://psalm.dev/032)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L170
src/EventLoop/Driver/EvDriver.php:170:24: MixedArrayOffset: Cannot access value on variable $this->events using mixed offset (see https://psalm.dev/031)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L170
src/EventLoop/Driver/EvDriver.php:170:38: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L170
src/EventLoop/Driver/EvDriver.php:170:44: MixedPropertyFetch: Cannot fetch property on mixed var $callback (see https://psalm.dev/034)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L174
src/EventLoop/Driver/EvDriver.php:174:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L174
src/EventLoop/Driver/EvDriver.php:174:21: MixedPropertyTypeCoercion: $this->events expects 'array<string, EvWatcher>', parent type `non-empty-array<array-key, EvWatcher>` provided (see https://psalm.dev/196)
|
Run Psalm:
src/EventLoop/Driver/EvDriver.php#L178
src/EventLoop/Driver/EvDriver.php:178:21: MixedArrayOffset: Cannot access value on variable $this->events[$id] using mixed offset (see https://psalm.dev/031)
|
Loading