Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 0 additions & 9 deletions
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

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /