Skip to content

Code scanning

Code scanning #28

Triggered via schedule April 1, 2024 09:02
Status Success
Total duration 1m 4s
Artifacts

code-scanning.yaml

on: schedule
Perform code scanning (PHP) - Analyze
53s
Perform code scanning (PHP) - Analyze
Perform code scanning (PHP) - Code scan
31s
Perform code scanning (PHP) - Code scan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
UnusedClass: Command/ValidateCommand.php#L16
Command/ValidateCommand.php:16:7: UnusedClass: Class Recognize\DwhApplication\Command\ValidateCommand is never used (see https://psalm.dev/075)
UnusedClass: Controller/AbstractDwhApiController.php#L28
Controller/AbstractDwhApiController.php:28:16: UnusedClass: Class Recognize\DwhApplication\Controller\AbstractDwhApiController is never used (see https://psalm.dev/075)
PossiblyUnusedParam: Controller/AbstractDwhApiController.php#L79
Controller/AbstractDwhApiController.php:79:46: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
InvalidScalarArgument: Controller/AbstractDwhApiController.php#L135
Controller/AbstractDwhApiController.php:135:33: InvalidScalarArgument: Argument 1 of Recognize\DwhApplication\Model\DetailOptions::setIdentifier expects string, but int provided (see https://psalm.dev/012)
UndefinedMethod: DependencyInjection/Configuration.php#L22
DependencyInjection/Configuration.php:22:15: UndefinedMethod: Method Symfony\Component\Config\Definition\Builder\NodeDefinition::children does not exist (see https://psalm.dev/022)
UnusedClass: Loader/AbstractEntityLoader.php#L32
Loader/AbstractEntityLoader.php:32:16: UnusedClass: Class Recognize\DwhApplication\Loader\AbstractEntityLoader is never used (see https://psalm.dev/075)
InvalidPropertyAssignmentValue: Loader/AbstractEntityLoader.php#L67
Loader/AbstractEntityLoader.php:67:34: InvalidPropertyAssignmentValue: $this->protocolVersion with declared type 'string' cannot be assigned type 'UnitEnum|array<array-key, mixed>|null|scalar' (see https://psalm.dev/145)
UnusedVariable: Loader/AbstractEntityLoader.php#L161
Loader/AbstractEntityLoader.php:161:30: UnusedVariable: $index is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: Loader/AbstractEntityLoader.php#L260
Loader/AbstractEntityLoader.php:260:9: UnusedVariable: $output is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: Loader/AbstractEntityLoader.php#L269
Loader/AbstractEntityLoader.php:269:17: UnusedVariable: $output is never referenced or the value is not used (see https://psalm.dev/077)
Perform code scanning (PHP) - Code scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Perform code scanning (PHP) - Code scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Perform code scanning (PHP) - Analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Perform code scanning (PHP) - Analyze
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/