@@ -71,13 +71,13 @@ class ClassStructureSniffTest extends TestCase
7171
7272 public function testNoErrors (): void
7373 {
74- $ report = self ::checkFile (__DIR__ . '/data/classStructureSniffNoErrors .php ' );
74+ $ report = self ::checkFile (__DIR__ . '/data/classStructureNoErrors .php ' );
7575 self ::assertNoSniffErrorInFile ($ report );
7676 }
7777
7878 public function testErrors (): void
7979 {
80- $ report = self ::checkFile (__DIR__ . '/data/classStructureSniffErrors .php ' );
80+ $ report = self ::checkFile (__DIR__ . '/data/classStructureErrors .php ' );
8181
8282 self ::assertSame (30 , $ report ->getErrorCount ());
8383
@@ -115,7 +115,7 @@ public function testErrors(): void
115115
116116 public function testManyErrors (): void
117117 {
118- $ report = self ::checkFile (__DIR__ . '/data/classStructureSniffManyErrors .php ' );
118+ $ report = self ::checkFile (__DIR__ . '/data/classStructureManyErrors .php ' );
119119
120120 self ::assertSame (1 , $ report ->getErrorCount ());
121121 self ::assertAllFixedInFile ($ report );
@@ -124,7 +124,7 @@ public function testManyErrors(): void
124124 public function testNoErrorsWithDifferentRules (): void
125125 {
126126 $ report = self ::checkFile (
127- __DIR__ . '/data/classStructureSniffNoErrorsWithDifferentRules .php ' ,
127+ __DIR__ . '/data/classStructureNoErrorsWithDifferentRules .php ' ,
128128 ['groups ' => self ::DIFFERENT_RULES ],
129129 );
130130
@@ -134,7 +134,7 @@ public function testNoErrorsWithDifferentRules(): void
134134 public function testErrorsWithDifferentRules (): void
135135 {
136136 $ report = self ::checkFile (
137- __DIR__ . '/data/classStructureSniffErrorsWithDifferentRules .php ' ,
137+ __DIR__ . '/data/classStructureErrorsWithDifferentRules .php ' ,
138138 ['groups ' => self ::DIFFERENT_RULES ],
139139 );
140140
@@ -195,7 +195,7 @@ public function testErrorsWithShortcuts(): void
195195 public function testNoErrorsWithMethodGroupRules (): void
196196 {
197197 $ report = self ::checkFile (
198- __DIR__ . '/data/classStructureSniffNoErrorsWithMethodGroupRules .php ' ,
198+ __DIR__ . '/data/classStructureNoErrorsWithMethodGroupRules .php ' ,
199199 [
200200 'methodGroups ' => self ::METHOD_GROUPS ,
201201 'groups ' => self ::METHOD_GROUP_RULES ,
@@ -208,7 +208,7 @@ public function testNoErrorsWithMethodGroupRules(): void
208208 public function testErrorsWithMethodGroupRules (): void
209209 {
210210 $ report = self ::checkFile (
211- __DIR__ . '/data/classStructureSniffErrorsWithMethodGroupRules .php ' ,
211+ __DIR__ . '/data/classStructureErrorsWithMethodGroupRules .php ' ,
212212 [
213213 'methodGroups ' => self ::METHOD_GROUPS ,
214214 'groups ' => self ::METHOD_GROUP_RULES ,
@@ -230,7 +230,7 @@ public function testThrowExceptionForUnsupportedGroup(): void
230230 {
231231 try {
232232 self ::checkFile (
233- __DIR__ . '/data/classStructureSniffNoErrors .php ' ,
233+ __DIR__ . '/data/classStructureNoErrors .php ' ,
234234 ['groups ' => ['whatever ' ]],
235235 );
236236 self ::fail ();
@@ -243,7 +243,7 @@ public function testThrowExceptionForMissingGroups(): void
243243 {
244244 try {
245245 self ::checkFile (
246- __DIR__ . '/data/classStructureSniffNoErrors .php ' ,
246+ __DIR__ . '/data/classStructureNoErrors .php ' ,
247247 ['groups ' => ['uses ' ]],
248248 );
249249 self ::fail ();
0 commit comments