chore(deps): update dependency vimeo/psalm to v6 #3822
Annotations
11 errors and 1 warning
|
Run tests:
src/Id/IncrementingIdGenerator.php#L11
src/Id/IncrementingIdGenerator.php:11:5: MissingOverrideAttribute: Method Cucumber\Messages\Id\IncrementingIdGenerator::newid should have the "Override" attribute (see https://psalm.dev/358)
|
Run tests:
src/Id/UuidIdGenerator.php#L14
src/Id/UuidIdGenerator.php:14:5: MissingOverrideAttribute: Method Cucumber\Messages\Id\UuidIdGenerator::newid should have the "Override" attribute (see https://psalm.dev/358)
|
Run tests:
src/Id/UuidIdGenerator.php#L14
src/Id/UuidIdGenerator.php:14:30: InvalidNullableReturnType: The declared return type 'string' for Cucumber\Messages\Id\UuidIdGenerator::newId is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
|
Run tests:
src/Id/UuidIdGenerator.php#L38
src/Id/UuidIdGenerator.php:38:16: NullableReturnStatement: The declared return type 'string' for Cucumber\Messages\Id\UuidIdGenerator::newId is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
|
Run tests:
src/Streams/NdJson/NdJsonStreamReader.php#L19
src/Streams/NdJson/NdJsonStreamReader.php:19:5: MissingOverrideAttribute: Method Cucumber\Messages\Streams\NdJson\NdJsonStreamReader::envelopes should have the "Override" attribute (see https://psalm.dev/358)
|
Run tests:
src/Streams/NdJson/NdJsonStreamWriter.php#L18
src/Streams/NdJson/NdJsonStreamWriter.php:18:5: MissingOverrideAttribute: Method Cucumber\Messages\Streams\NdJson\NdJsonStreamWriter::writeenvelopes should have the "Override" attribute (see https://psalm.dev/358)
|
Run tests:
tests/AcceptanceTest.php#L10
tests/AcceptanceTest.php:10:7: ClassMustBeFinal: Class AcceptanceTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
Run tests:
tests/AcceptanceTest.php#L32
tests/AcceptanceTest.php:32:54: PossiblyFalseArgument: Argument 1 of Cucumber\Messages\Streams\NdJson\NdJsonStreamReader::fromFileHandle cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Run tests:
tests/AcceptanceTest.php#L33
tests/AcceptanceTest.php:33:54: PossiblyFalseArgument: Argument 1 of Cucumber\Messages\Streams\NdJson\NdJsonStreamWriter::fromFileHandle cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Run tests:
tests/AcceptanceTest.php#L37
tests/AcceptanceTest.php:37:16: PossiblyFalseArgument: Argument 1 of rewind cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Discover 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/
|
Loading