Skip to content

Commit a4a6a08

Browse files
staabmondrejmirtes
authored andcommitted
Remove dead test because of raised min-php version
1 parent b60bffc commit a4a6a08

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

tests/Rules/Classes/RequireParentConstructCallRuleTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use PHPStan\Rules\Rule;
66
use PHPStan\Testing\RuleTestCase;
7-
use const PHP_VERSION_ID;
87

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

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

tests/Rules/Classes/data/call-to-parent-constructor-php-lt-74.php

-11
This file was deleted.

0 commit comments

Comments
 (0)