@@ -34,8 +34,8 @@ final class SetSniffPropertyTest extends TestCase
34
34
*/
35
35
public function testSniffPropertiesGetSetWhenAllowed ($ name )
36
36
{
37
- $ sniffCode = "Fixtures .SetProperty. {$ name }" ;
38
- $ sniffClass = 'Fixtures\Sniffs\SetProperty \\' .$ name .'Sniff ' ;
37
+ $ sniffCode = "TestStandard .SetProperty. {$ name }" ;
38
+ $ sniffClass = 'Fixtures\TestStandard\ Sniffs\SetProperty \\' .$ name .'Sniff ' ;
39
39
$ properties = [
40
40
'arbitrarystring ' => 'arbitraryvalue ' ,
41
41
'arbitraryarray ' => [
@@ -163,7 +163,7 @@ public function testSetPropertyThrowsErrorOnInvalidProperty()
163
163
public function testSetPropertyThrowsErrorWhenPropertyOnlyAllowedViaAttribute ()
164
164
{
165
165
$ exceptionClass = 'PHP_CodeSniffer\Exceptions\RuntimeException ' ;
166
- $ exceptionMsg = 'Ruleset invalid. Property "arbitrarystring" does not exist on sniff Fixtures .SetProperty.NotAllowedViaAttribute ' ;
166
+ $ exceptionMsg = 'Ruleset invalid. Property "arbitrarystring" does not exist on sniff TestStandard .SetProperty.NotAllowedViaAttribute ' ;
167
167
if (method_exists ($ this , 'expectException ' ) === true ) {
168
168
$ this ->expectException ($ exceptionClass );
169
169
$ this ->expectExceptionMessage ($ exceptionMsg );
@@ -225,8 +225,8 @@ public function testSetPropertyDoesNotThrowErrorOnInvalidPropertyWhenSetForCateg
225
225
public function testDirectCallWithNewArrayFormatSetsProperty ()
226
226
{
227
227
$ name = 'AllowedAsDeclared ' ;
228
- $ sniffCode = "Fixtures .SetProperty. {$ name }" ;
229
- $ sniffClass = 'Fixtures\Sniffs\SetProperty \\' .$ name .'Sniff ' ;
228
+ $ sniffCode = "TestStandard .SetProperty. {$ name }" ;
229
+ $ sniffClass = 'Fixtures\TestStandard\ Sniffs\SetProperty \\' .$ name .'Sniff ' ;
230
230
231
231
// Set up the ruleset.
232
232
$ standard = __DIR__ ."/SetProperty {$ name }Test.xml " ;
@@ -276,8 +276,8 @@ public function testDirectCallWithNewArrayFormatSetsProperty()
276
276
public function testDirectCallWithOldArrayFormatSetsProperty ($ propertyValue )
277
277
{
278
278
$ name = 'AllowedAsDeclared ' ;
279
- $ sniffCode = "Fixtures .SetProperty. {$ name }" ;
280
- $ sniffClass = 'Fixtures\Sniffs\SetProperty \\' .$ name .'Sniff ' ;
279
+ $ sniffCode = "TestStandard .SetProperty. {$ name }" ;
280
+ $ sniffClass = 'Fixtures\TestStandard\ Sniffs\SetProperty \\' .$ name .'Sniff ' ;
281
281
282
282
// Set up the ruleset.
283
283
$ standard = __DIR__ ."/SetProperty {$ name }Test.xml " ;
@@ -383,7 +383,7 @@ public function testDirectCallWithOldArrayFormatThrowsDeprecationNotice()
383
383
}
384
384
385
385
$ name = 'AllowedAsDeclared ' ;
386
- $ sniffClass = 'Fixtures\Sniffs\SetProperty \\' .$ name .'Sniff ' ;
386
+ $ sniffClass = 'Fixtures\TestStandard\ Sniffs\SetProperty \\' .$ name .'Sniff ' ;
387
387
388
388
// Set up the ruleset.
389
389
$ standard = __DIR__ ."/SetProperty {$ name }Test.xml " ;
0 commit comments