From 51a47cc8a0c8a1b2c8e7e253be91a35a5642898b Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sat, 20 Jul 2024 09:12:33 +0200 Subject: [PATCH] Fix PHP_VERSION_ID comparison in test --- .../Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php b/tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php index d7e5141453..deacff9371 100644 --- a/tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php +++ b/tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php @@ -687,7 +687,7 @@ public function testBug8068(): void public function testBug6243(): void { - if (PHP_VERSION_ID < 704000) { + if (PHP_VERSION_ID < 70400) { $this->markTestSkipped('Test requires PHP 7.4.'); }