Skip to content

Commit f711356

Browse files
committed
Update FinalPrivateConstantRule.php
1 parent e798e21 commit f711356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Constants/FinalPrivateConstantRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function processNode(Node $node, Scope $scope): array
4040
'Private constant %s::%s() cannot be final as it is never overridden by other classes.',
4141
$classReflection->getDisplayName(),
4242
$classConstNode->name->name,
43-
))->identifier('classConstant.finalPrivate')->build();
43+
))->identifier('classConstant.finalPrivate')->nonIgnorable()->build();
4444
}
4545

4646
return $errors;

0 commit comments

Comments
 (0)