Skip to content

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

[php] Configure Psalm 6 default settings findUnusedBaselineEntry, findUnusedCode

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

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

test-php.yml

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

Annotations

21 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)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L16
src/ParserException/UnexpectedEofException.php:16:31: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$receivedToken (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L17
src/ParserException/UnexpectedEofException.php:17:31: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$expectedTokenTypes (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L18
src/ParserException/UnexpectedEofException.php:18:32: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$stateComment (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedTokenException.php#L19
src/ParserException/UnexpectedTokenException.php:19:32: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedTokenException::$stateComment (see https://psalm.dev/149)
test-php (8.2, high-deps)
Process completed with exit code 2.
test-php (8.2, low-deps)
The job was canceled because "_8_2_high-deps" failed.
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)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L16
src/ParserException/UnexpectedEofException.php:16:31: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$receivedToken (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L17
src/ParserException/UnexpectedEofException.php:17:31: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$expectedTokenTypes (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedEofException.php#L18
src/ParserException/UnexpectedEofException.php:18:32: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedEofException::$stateComment (see https://psalm.dev/149)
PossiblyUnusedProperty: src/ParserException/UnexpectedTokenException.php#L19
src/ParserException/UnexpectedTokenException.php:19:32: PossiblyUnusedProperty: Cannot find any references to property Cucumber\Gherkin\ParserException\UnexpectedTokenException::$stateComment (see https://psalm.dev/149)
test-php (8.2, low-deps)
The operation was canceled.
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/
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/