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 02fe5e8 commit dc48eacCopy full SHA for dc48eac
1 file changed
src/Rule/DuplicatedContextDefinitionContentsRule.php
@@ -47,6 +47,9 @@ public function process(
47
$lineFilePaths[] = $contextDefinition->getFilePath() . ':' . $contextDefinition->getMethodLine();
48
}
49
50
+ // standardize order
51
+ sort($lineFilePaths);
52
+
53
$errorMessage = sprintf(
54
'These %d definitions have different masks, but same method body: %s%s',
55
count($duplicatedContextDefinition),
0 commit comments