File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public function testSuppressError()
92
92
$ this ->assertCount (0 , $ errors );
93
93
94
94
// Process with block comment suppression.
95
- $ content = '<?php ' .PHP_EOL .'/* phpcs:disable */ ' .PHP_EOL .'$var = FALSE; ' .PHP_EOL .'/* phpcs:disable */ ' ;
95
+ $ content = '<?php ' .PHP_EOL .'/* phpcs:disable */ ' .PHP_EOL .'$var = FALSE; ' .PHP_EOL .'/* phpcs:enable */ ' ;
96
96
$ file = new DummyFile ($ content , $ ruleset , $ config );
97
97
$ file ->process ();
98
98
@@ -852,7 +852,7 @@ public function testDisableSelected()
852
852
$ this ->assertEquals (0 , $ numWarnings );
853
853
$ this ->assertCount (0 , $ warnings );
854
854
855
- // Suppress wrong catergory using docblocks.
855
+ // Suppress wrong category using docblocks.
856
856
$ content = '<?php ' .PHP_EOL .'/**
857
857
' .PHP_EOL .' * phpcs:disable Generic.Files ' .PHP_EOL .' */ ' .PHP_EOL .'//TODO: write some code ' ;
858
858
$ file = new DummyFile ($ content , $ ruleset , $ config );
You can’t perform that action at this time.
0 commit comments