Skip to content

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

[ci] implement phpstan for static analysis of the codebase

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

Triggered via pull request April 5, 2024 14:13
Status Failure
Total duration 55s
Artifacts

ci-static-analysis.yaml

on: pull_request
Coding Standards
26s
Coding Standards
PHPStan
47s
PHPStan
Fit to window
Zoom out
Zoom in

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/.