Skip to content

Commit

Permalink
test: add @psalm-suppress
Browse files Browse the repository at this point in the history
Error: tests/system/CodeIgniterTest.php:138:33: UndefinedClass: Class, interface or enum named Tests\Support\Errors does not exist (see https://psalm.dev/019)
  • Loading branch information
kenjis committed Jul 26, 2024
1 parent b469f0c commit 16e7a6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/system/CodeIgniterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ public function testRunClosureRoute(): void
$this->assertStringContainsString('You want to see "about" page.', $output);
}

/**
* @psalm-suppress UndefinedClass
*/
public function testRun404Override(): void
{
$_SERVER['REQUEST_METHOD'] = 'GET';
Expand Down

0 comments on commit 16e7a6c

Please sign in to comment.