Skip to content

Commit

Permalink
UnusedFollowedByRequire: fix up test class name
Browse files Browse the repository at this point in the history
PHPUnit 10+ is stricter about naming conventions, so the test class name must now match the file name and the class should end on `Test`.
  • Loading branch information
jrfnl committed Sep 8, 2024
1 parent f865e7b commit 9211ff6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use VariableAnalysis\Tests\BaseTestCase;

class UnusedFollowedByRequire extends BaseTestCase
class UnusedFollowedByRequireTest extends BaseTestCase
{
public function testUnusedFollowedByRequireWarnsByDefault()
{
Expand Down

0 comments on commit 9211ff6

Please sign in to comment.