Skip to content

Allow Symfony 7

Allow Symfony 7 #1585

Triggered via pull request December 19, 2023 07:39
Status Failure
Total duration 34s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
PHPStan: src/Security/Authorization/Voter/UserAclVoter.php#L22
Method Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter::supportsClass() has parameter $class with no type specified.
PHPStan: tests/Security/Authorization/Voter/UserAclVoterTest.php#L46
Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter does not have a constructor and must be instantiated without any parameters.
PHPStan: tests/Security/Authorization/Voter/UserAclVoterTest.php#L72
Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter does not have a constructor and must be instantiated without any parameters.
PHPStan: tests/Security/Authorization/Voter/UserAclVoterTest.php#L97
Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter does not have a constructor and must be instantiated without any parameters.
PHPStan: tests/Security/Authorization/Voter/UserAclVoterTest.php#L122
Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter does not have a constructor and must be instantiated without any parameters.
PHPStan
Process completed with exit code 1.
MissingParamType: src/Security/Authorization/Voter/UserAclVoter.php#L22
src/Security/Authorization/Voter/UserAclVoter.php:22:35: MissingParamType: Parameter $class has no provided type (see https://psalm.dev/154)
TooManyArguments: tests/Security/Authorization/Voter/UserAclVoterTest.php#L46
tests/Security/Authorization/Voter/UserAclVoterTest.php:46:18: TooManyArguments: Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter has no __construct, but arguments were passed (see https://psalm.dev/026)
TooManyArguments: tests/Security/Authorization/Voter/UserAclVoterTest.php#L72
tests/Security/Authorization/Voter/UserAclVoterTest.php:72:18: TooManyArguments: Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter has no __construct, but arguments were passed (see https://psalm.dev/026)
TooManyArguments: tests/Security/Authorization/Voter/UserAclVoterTest.php#L97
tests/Security/Authorization/Voter/UserAclVoterTest.php:97:18: TooManyArguments: Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter has no __construct, but arguments were passed (see https://psalm.dev/026)
TooManyArguments: tests/Security/Authorization/Voter/UserAclVoterTest.php#L122
tests/Security/Authorization/Voter/UserAclVoterTest.php:122:18: TooManyArguments: Class Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter has no __construct, but arguments were passed (see https://psalm.dev/026)
Psalm
Process completed with exit code 2.
Rector
Process completed with exit code 2.