Skip to content

Commit 78373eb

Browse files
committed
make all errors non-ignorable
1 parent 1976cc0 commit 78373eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Rules/Names/UsedNamesRule.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ private function findErrorsForNode(Node $node, string $namespace, array &$usedNa
117117
))
118118
->identifier('function.nameInUse')
119119
->line($node->getStartLine())
120+
->nonIgnorable()
120121
->build(),
121122
];
122123
}
@@ -135,6 +136,7 @@ private function findErrorsForNode(Node $node, string $namespace, array &$usedNa
135136
))
136137
->identifier('const.nameInUse')
137138
->line($constNode->getStartLine())
139+
->nonIgnorable()
138140
->build();
139141
}
140142
$usedNames[Use_::TYPE_CONSTANT][$lowerNamespace][] = $name;

0 commit comments

Comments
 (0)