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 a6700d4 commit fd08652Copy full SHA for fd08652
tests/Core/Config/SniffsExcludeArgsTest.php
@@ -136,6 +136,19 @@ public static function dataInvalidSniffs()
136
'suggestion' => 'Standard.Category.Sniff',
137
];
138
139
+ // Too many dots
140
+ $data[$argument.'; error-code'] = [
141
+ 'argument' => $argument,
142
+ 'value' => 'Standard.Category.Sniff.Code.Extra',
143
+ 'errors' => [
144
+ [
145
+ 'Standard.Category.Sniff.Code.Extra',
146
+ 'Too many dots.',
147
+ ],
148
149
+ 'suggestion' => 'Standard.Category.Sniff',
150
+ ];
151
+
152
// All errors are reported in one go.
153
$data[$argument.'; two errors'] = [
154
'argument' => $argument,
0 commit comments