Merge pull request #10 from reactphp-parallel/renovate/phpunit #12
Annotations
10 errors
Run make psalm:
../../src/File.php#L30
../../src/File.php:30:29: MixedReturnTypeCoercion: The declared return type 'React\Promise\PromiseInterface<React\Filesystem\Stat|null>' for ReactParallel\Filesystem\File::stat is more specific than the inferred return type 'React\Promise\PromiseInterface' (see https://psalm.dev/197)
|
Run make psalm:
../../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)
|
Run make psalm:
../../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)
|
Run make psalm:
../../src/Adapter.php#L47
../../src/Adapter.php:47:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
Run make psalm:
../../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)
|
Run make psalm:
../../src/Adapter.php#L43
../../src/Adapter.php:43:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
Run make psalm:
../../src/Adapter.php#L39
../../src/Adapter.php:39:21: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
Run make psalm:
../../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)
|
Run make psalm:
../../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)
|
Run make psalm:
../../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)
|
Loading