We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e798e21 commit f711356Copy full SHA for f711356
src/Rules/Constants/FinalPrivateConstantRule.php
@@ -40,7 +40,7 @@ public function processNode(Node $node, Scope $scope): array
40
'Private constant %s::%s() cannot be final as it is never overridden by other classes.',
41
$classReflection->getDisplayName(),
42
$classConstNode->name->name,
43
- ))->identifier('classConstant.finalPrivate')->build();
+ ))->identifier('classConstant.finalPrivate')->nonIgnorable()->build();
44
}
45
46
return $errors;
0 commit comments