Skip to content

Commit d9c6e9c

Browse files
committed
Tokenizer/ErrorSuppression: fix minor typos in test file
1 parent 6792680 commit d9c6e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Core/ErrorSuppressionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testSuppressError()
9292
$this->assertCount(0, $errors);
9393

9494
// 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 */';
9696
$file = new DummyFile($content, $ruleset, $config);
9797
$file->process();
9898

@@ -852,7 +852,7 @@ public function testDisableSelected()
852852
$this->assertEquals(0, $numWarnings);
853853
$this->assertCount(0, $warnings);
854854

855-
// Suppress wrong catergory using docblocks.
855+
// Suppress wrong category using docblocks.
856856
$content = '<?php '.PHP_EOL.'/**
857857
'.PHP_EOL.' * phpcs:disable Generic.Files'.PHP_EOL.' */ '.PHP_EOL.'//TODO: write some code';
858858
$file = new DummyFile($content, $ruleset, $config);

0 commit comments

Comments
 (0)