Skip to content

Commit

Permalink
Merge pull request #7300 from weirdan/dead-code-phpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jan 5, 2022
2 parents f5d6d23 + c81c5fa commit 9b488e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/EndToEnd/PsalmEndToEndTest.php
Expand Up @@ -24,8 +24,6 @@
use function tempnam;
use function unlink;

use const PHP_VERSION_ID;

/**
* Tests some of the most important use cases of the psalm and psalter commands, by launching a new
* process as if invoked by a real user.
Expand Down Expand Up @@ -152,10 +150,6 @@ public function testPsalmWithPHPVersionFromConfig(): void

public function testPsalmDiff(): void
{
if (PHP_VERSION_ID < 70400) {
$this->markTestSkipped('Only works on 7.4+');
}

copy(__DIR__ . '/../fixtures/DummyProjectWithErrors/diff_composer.lock', self::$tmpDir . '/composer.lock');

$this->runPsalmInit(1);
Expand Down

0 comments on commit 9b488e6

Please sign in to comment.