Skip to content

[ci] implement phpstan for static analysis of the codebase #3

[ci] implement phpstan for static analysis of the codebase

[ci] implement phpstan for static analysis of the codebase #3

Triggered via pull request April 2, 2024 17:15
Status Failure
Total duration 54s
Artifacts

ci-static-analysis.yaml

on: pull_request
Matrix: coding-standards
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan (8.1): src/Maker/AbstractMaker.php#L44
Method Symfony\Bundle\MakerBundle\Maker\AbstractMaker::addDependencies() has parameter $dependencies with no value type specified in iterable type array.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L283
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateAuthenticatorClass() has parameter $securityData with no value type specified in iterable type array.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L283
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateAuthenticatorClass() has parameter $userClass with no type specified.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L283
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateAuthenticatorClass() has parameter $userNameField with no type specified.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L404
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateNextMessage() has parameter $userClass with no type specified.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L404
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateNextMessage() return type has no value type specified in iterable type array.
PHPStan (8.1): src/Maker/MakeAuthenticator.php#L435
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::userClassHasEncoder() has parameter $securityData with no value type specified in iterable type array.
PHPStan (8.1): src/Maker/MakeCommand.php#L36
Property Symfony\Bundle\MakerBundle\Maker\MakeCommand::$phpCompatUtil is never read, only written.
PHPStan (8.1): src/Maker/MakeController.php#L37
Property Symfony\Bundle\MakerBundle\Maker\MakeController::$phpCompatUtil is never read, only written.
PHPStan (8.1): src/Maker/MakeEntity.php#L309
Call to function is_string() with Symfony\Bundle\MakerBundle\Util\ClassSourceManipulator will always evaluate to false.
Coding Standards (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.