@@ -153,7 +153,7 @@ public static function dataGetSniffCode()
153
153
'expected ' => 'MyStandard.PHP.MyName ' ,
154
154
],
155
155
'Test in external standard without namespace prefix ' => [
156
- 'fqnClass ' => 'MyStandard \\Tests \\PHP \\MyNameSniff ' ,
156
+ 'fqnClass ' => 'MyStandard \\Tests \\PHP \\MyNameUnitTest ' ,
157
157
'expected ' => 'MyStandard.PHP.MyName ' ,
158
158
],
159
159
'Sniff in external standard with namespace prefix ' => [
@@ -192,6 +192,18 @@ public static function dataGetSniffCode()
192
192
'fqnClass ' => 'CompanyName \\CustomSniffs \\Whatever \\CheckMeSniff ' ,
193
193
'expected ' => 'CompanyName.Whatever.CheckMe ' ,
194
194
],
195
+ 'Sniff provided via file include and doesn \'t comply with naming conventions [5] ' => [
196
+ 'fqnClass ' => 'CompanyName \\Sniffs \\Category \\Sniff ' ,
197
+ 'expected ' => 'CompanyName.Category. ' ,
198
+ ],
199
+ 'Sniff provided via file include and doesn \'t comply with naming conventions [6] ' => [
200
+ 'fqnClass ' => 'CompanyName \\Tests \\Category \\UnitTest ' ,
201
+ 'expected ' => 'CompanyName.Category. ' ,
202
+ ],
203
+ 'Sniff provided via file include and doesn \'t comply with naming conventions [7] ' => [
204
+ 'fqnClass ' => 'Sniffs \\Category \\NamedSniff ' ,
205
+ 'expected ' => '.Category.Named ' ,
206
+ ],
195
207
];
196
208
197
209
}//end dataGetSniffCode()
0 commit comments