Skip to content

[php] Configure Psalm 6 default settings findUnusedBaselineEntry, findUnusedCode #1574

[php] Configure Psalm 6 default settings findUnusedBaselineEntry, findUnusedCode

[php] Configure Psalm 6 default settings findUnusedBaselineEntry, findUnusedCode #1574

Triggered via pull request March 12, 2024 13:53
Status Failure
Total duration 34s
Artifacts

test-php.yml

on: pull_request
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
UnusedParam: src/AstNode.php#L38
src/AstNode.php:38:37: UnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/135)
UnusedProperty: src/GherkinParser.php#L31
src/GherkinParser.php:31:31: UnusedProperty: Cannot find any references to private property Cucumber\Gherkin\GherkinParser::$predictableIds (see https://psalm.dev/150)
PossiblyUnusedMethod: src/GherkinParser.php#L46
src/GherkinParser.php:46:21: PossiblyUnusedMethod: Cannot find any calls to method Cucumber\Gherkin\GherkinParser::parseString (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Location.php#L15
src/Location.php:15:21: PossiblyUnusedMethod: Cannot find any calls to method Cucumber\Gherkin\Location::getColumn (see https://psalm.dev/087)
UnusedReturnValue: src/Parser/ParserTrait.php#L76
src/Parser/ParserTrait.php:76:16: UnusedReturnValue: The return value for this private method is never used (see https://psalm.dev/272)
test-php (8.2, low-deps)
Process completed with exit code 2.
UnusedParam: src/AstNode.php#L38
src/AstNode.php:38:37: UnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/135)
UnusedProperty: src/GherkinParser.php#L31
src/GherkinParser.php:31:31: UnusedProperty: Cannot find any references to private property Cucumber\Gherkin\GherkinParser::$predictableIds (see https://psalm.dev/150)
PossiblyUnusedMethod: src/GherkinParser.php#L46
src/GherkinParser.php:46:21: PossiblyUnusedMethod: Cannot find any calls to method Cucumber\Gherkin\GherkinParser::parseString (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Location.php#L15
src/Location.php:15:21: PossiblyUnusedMethod: Cannot find any calls to method Cucumber\Gherkin\Location::getColumn (see https://psalm.dev/087)
UnusedReturnValue: src/Parser/ParserTrait.php#L76
src/Parser/ParserTrait.php:76:16: UnusedReturnValue: The return value for this private method is never used (see https://psalm.dev/272)
test-php (8.2, high-deps)
Process completed with exit code 2.
test-php (8.2, low-deps)
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/
test-php (8.2, high-deps)
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/