Down bump to PHP 8.1 #140
Annotations
4 errors and 1 warning
../../src/Limited.php#L33
../../src/Limited.php:33:31: MixedPropertyTypeCoercion: $this->queue expects 'SplQueue<callable>', parent type `SplQueue<mixed>` provided (see https://psalm.dev/196)
|
../../src/Limited.php#L50
../../src/Limited.php:50:33: MoreSpecificImplementedParamType: Argument 1 of ReactParallel\Pool\Limited\Limited::run has the more specific type 'Closure():T:fn-reactparallel\pool\limited\limited::run as mixed', expecting 'Closure():T:fn-reactparallel\contracts\poolinterface::run as mixed|Closure(A1:fn-reactparallel\contracts\poolinterface::run as mixed):T:fn-reactparallel\contracts\poolinterface::run as mixed|Closure(A1:fn-reactparallel\contracts\poolinterface::run as mixed, A2:fn-reactparallel\contracts\poolinterface::run as mixed):T:fn-reactparallel\contracts\poolinterface::run as mixed|Closure(A1:fn-reactparallel\contracts\poolinterface::run as mixed, A2:fn-reactparallel\contracts\poolinterface::run as mixed, A3:fn-reactparallel\contracts\poolinterface::run as mixed):T:fn-reactparallel\contracts\poolinterface::run as mixed|Closure(A1:fn-reactparallel\contracts\poolinterface::run as mixed, A2:fn-reactparallel\contracts\poolinterface::run as mixed, A3:fn-reactparallel\contracts\poolinterface::run as mixed, A4:fn-reactparallel\contracts\poolinterface::run as mixed):T:fn-reactparallel\contracts\poolinterface::run as mixed|Closure(A1:fn-reactparallel\contracts\poolinterface::run as mixed, A2:fn-reactparallel\contracts\poolinterface::run as mixed, A3:fn-reactparallel\contracts\poolinterface::run as mixed, A4:fn-reactparallel\contracts\poolinterface::run as mixed, A5:fn-reactparallel\contracts\poolinterface::run as mixed):T:fn-reactparallel\contracts\poolinterface::run as mixed' as defined by ReactParallel\Contracts\PoolInterface::run (see https://psalm.dev/140)
|
../../src/Limited.php#L58
../../src/Limited.php:58:35: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
|
../../src/Limited.php#L66
../../src/Limited.php:66:48: ArgumentTypeCoercion: Argument 2 of ReactParallel\Contracts\PoolInterface::run expects list{0?: mixed, 1?: mixed, 2?: mixed, 3?: mixed, 4?: mixed}, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job succeeded
Loading