Skip to content
Snippets Groups Projects
Commit 35cddac2 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Georg Ringer
Browse files

[TASK] Enable phpstan PHPStan\Rules\DeadCode\UnreachableStatementRule

Several issues have been ignored because of checks on runtime
constants which vary from context to context. Since we can
only simulate one context, phpstan is unable to properly
detect several paths.

Releases: master
Resolves: #90909
Change-Id: Ie3213112a299559687f27317821453137cd5322a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64030


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent bd0d9997
No related merge requests found
Showing
with 43 additions and 20 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment