Skip to content

Commit

Permalink
Remove dead test because of raised min-php version
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and ondrejmirtes committed Oct 26, 2024
1 parent b60bffc commit a4a6a08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
9 changes: 0 additions & 9 deletions tests/Rules/Classes/RequireParentConstructCallRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use PHPStan\Rules\Rule;
use PHPStan\Testing\RuleTestCase;
use const PHP_VERSION_ID;

/**
* @extends RuleTestCase<RequireParentConstructCallRule>
Expand Down Expand Up @@ -44,12 +43,4 @@ public function testCheckInTraits(): void
$this->analyse([__DIR__ . '/data/call-to-parent-constructor-in-trait.php'], []);
}

public function testCallsParentButHasNotParent(): void
{
if (PHP_VERSION_ID >= 70400) {
self::markTestSkipped('This test does not support PHP 7.4 or higher.');
}
$this->analyse([__DIR__ . '/data/call-to-parent-constructor-php-lt-74.php'], []);
}

}
11 changes: 0 additions & 11 deletions tests/Rules/Classes/data/call-to-parent-constructor-php-lt-74.php

This file was deleted.

0 comments on commit a4a6a08

Please sign in to comment.