Merge pull request #1 from reactphp-parallel/initial-rough-setup #2
Annotations
10 errors and 1 warning
../../src/Adapter.php#L28
../../src/Adapter.php:28:43: MixedReturnTypeCoercion: The declared return type 'React\Promise\PromiseInterface<React\Filesystem\Node\NodeInterface>' for ReactParallel\Filesystem\Adapter::detect is more specific than the inferred return type 'React\Promise\PromiseInterface<ReactParallel\Filesystem\NotExist|React\Filesystem\Node\DirectoryInterface|React\Filesystem\Node\FileInterface|mixed>' (see https://psalm.dev/197)
|
../../src/Adapter.php#L30
../../src/Adapter.php:30:16: MixedReturnTypeCoercion: The type 'React\Promise\PromiseInterface<ReactParallel\Filesystem\NotExist|React\Filesystem\Node\DirectoryInterface|React\Filesystem\Node\FileInterface|mixed>' is more general than the declared return type 'React\Promise\PromiseInterface<React\Filesystem\Node\NodeInterface>' for ReactParallel\Filesystem\Adapter::detect (see https://psalm.dev/197)
|
../../src/Adapter.php#L35
../../src/Adapter.php:35:46: PossiblyNullArgument: Argument 1 of React\Filesystem\ModeTypeDetector::detect cannot be null, possibly null value provided (see https://psalm.dev/078)
|
../../src/Adapter.php#L39
../../src/Adapter.php:39:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
../../src/Adapter.php#L43
../../src/Adapter.php:43:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
../../src/Adapter.php#L45
../../src/Adapter.php:45:32: UndefinedClass: Class, interface or enum named React\Filesystem\Node\Unknown does not exist (see https://psalm.dev/019)
|
../../src/Adapter.php#L47
../../src/Adapter.php:47:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
../../src/Directory.php#L33
../../src/Directory.php:33:29: MixedReturnTypeCoercion: The declared return type 'React\Promise\PromiseInterface<React\Filesystem\Stat|null>' for ReactParallel\Filesystem\Directory::stat is more specific than the inferred return type 'React\Promise\PromiseInterface' (see https://psalm.dev/197)
|
../../src/Directory.php#L35
../../src/Directory.php:35:16: MixedReturnTypeCoercion: The type 'React\Promise\PromiseInterface' is more general than the declared return type 'React\Promise\PromiseInterface<React\Filesystem\Stat|null>' for ReactParallel\Filesystem\Directory::stat (see https://psalm.dev/197)
|
../../src/Directory.php#L40
../../src/Directory.php:40:37: InvalidArgument: Argument 1 of ReactParallel\Contracts\PoolInterface::run expects Closure():list<React\Promise\PromiseInterface<React\Filesystem\Node\NodeInterface>>, but impure-Closure(string, React\Filesystem\AdapterInterface):list<React\Promise\PromiseInterface<React\Filesystem\Node\NodeInterface>> provided (see https://psalm.dev/004)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading