[ci] implement phpstan for static analysis of the codebase #8
ci-static-analysis.yaml
on: pull_request
Coding Standards
26s
PHPStan
47s
Annotations
10 errors and 2 warnings
PHPStan:
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:
src/Maker/MakeAuthenticator.php#L283
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateAuthenticatorClass() has parameter $userClass with no type specified.
|
PHPStan:
src/Maker/MakeAuthenticator.php#L283
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateAuthenticatorClass() has parameter $userNameField with no type specified.
|
PHPStan:
src/Maker/MakeAuthenticator.php#L404
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateNextMessage() has parameter $userClass with no type specified.
|
PHPStan:
src/Maker/MakeAuthenticator.php#L404
Method Symfony\Bundle\MakerBundle\Maker\MakeAuthenticator::generateNextMessage() return type has no value type specified in iterable type array.
|
PHPStan:
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:
src/Maker/MakeEntity.php#L309
Call to function is_string() with Symfony\Bundle\MakerBundle\Util\ClassSourceManipulator will always evaluate to false.
|
PHPStan:
src/Maker/MakeEntity.php#L343
Method Symfony\Bundle\MakerBundle\Maker\MakeEntity::askForNextField() has parameter $fields with no value type specified in iterable type array.
|
PHPStan:
src/Maker/MakeEntity.php#L775
Method Symfony\Bundle\MakerBundle\Maker\MakeEntity::askRelationType() has no return type specified.
|
PHPStan:
src/Maker/MakeEntity.php#L858
Method Symfony\Bundle\MakerBundle\Maker\MakeEntity::getPropertyNames() return type has no value type specified in iterable type array.
|
Coding Standards
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
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/.
|