test: Align all phpstan.neon levels #285
Annotations
23 errors and 1 warning
static-analysis-tests (8.3):
src/Api/Filter/ArchiveFilter.php#L34
Unreachable statement - code above always terminates.
|
static-analysis-tests (8.3):
src/Api/ListManager/SolrPaginator.php#L69
Unreachable statement - code above always terminates.
|
static-analysis-tests (8.3):
src/Console/NodesOrphansCommand.php#L71
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.3):
src/Message/Handler/SearchRealmNodeInheritanceMessageHandler.php#L68
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.3):
src/Message/Handler/SearchRealmNodeInheritanceMessageHandler.php#L93
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.3):
src/Routing/NodeRouter.php#L66
Method RZ\Roadiz\CoreBundle\Routing\NodeRouter::getMatcher() should return Symfony\Component\Routing\Matcher\UrlMatcherInterface but returns Symfony\Component\Routing\Matcher\RequestMatcherInterface|Symfony\Component\Routing\Matcher\UrlMatcherInterface.
|
static-analysis-tests (8.3):
src/Security/Authentication/RoadizAuthenticator.php#L57
Access to undefined constant Symfony\Bundle\SecurityBundle\Security::LAST_USERNAME.
|
static-analysis-tests (8.3):
src/Security/Authentication/RoadizAuthenticator.php#L120
Access to undefined constant Symfony\Bundle\SecurityBundle\Security::MAX_USERNAME_LENGTH.
|
static-analysis-tests (8.3):
src/Security/Authorization/Voter/NodeVoter.php#L94
Instanceof between RZ\Roadiz\CoreBundle\Entity\Node and RZ\Roadiz\CoreBundle\Entity\NodesSources will always evaluate to false.
|
static-analysis-tests (8.3):
src/Security/Authorization/Voter/NodeVoter.php#L114
Match arm is unreachable because previous comparison is always true.
|
static-analysis-tests (8.1)
The job was canceled because "_8_3" failed.
|
static-analysis-tests (8.1)
The operation was canceled.
|
static-analysis-tests (8.2)
The job was canceled because "_8_3" failed.
|
static-analysis-tests (8.2):
src/Api/Filter/ArchiveFilter.php#L34
Unreachable statement - code above always terminates.
|
static-analysis-tests (8.2):
src/Api/ListManager/SolrPaginator.php#L69
Unreachable statement - code above always terminates.
|
static-analysis-tests (8.2):
src/Console/NodesOrphansCommand.php#L71
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.2):
src/Message/Handler/SearchRealmNodeInheritanceMessageHandler.php#L68
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.2):
src/Message/Handler/SearchRealmNodeInheritanceMessageHandler.php#L93
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis-tests (8.2):
src/Routing/NodeRouter.php#L66
Method RZ\Roadiz\CoreBundle\Routing\NodeRouter::getMatcher() should return Symfony\Component\Routing\Matcher\UrlMatcherInterface but returns Symfony\Component\Routing\Matcher\RequestMatcherInterface|Symfony\Component\Routing\Matcher\UrlMatcherInterface.
|
static-analysis-tests (8.2):
src/Security/Authentication/RoadizAuthenticator.php#L57
Access to undefined constant Symfony\Bundle\SecurityBundle\Security::LAST_USERNAME.
|
static-analysis-tests (8.2):
src/Security/Authentication/RoadizAuthenticator.php#L120
Access to undefined constant Symfony\Bundle\SecurityBundle\Security::MAX_USERNAME_LENGTH.
|
static-analysis-tests (8.2):
src/Security/Authorization/Voter/NodeVoter.php#L94
Instanceof between RZ\Roadiz\CoreBundle\Entity\Node and RZ\Roadiz\CoreBundle\Entity\NodesSources will always evaluate to false.
|
static-analysis-tests (8.2):
src/Security/Authorization/Voter/NodeVoter.php#L114
Match arm is unreachable because previous comparison is always true.
|
static-analysis-tests (8.3)
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/.
|