diff --git a/tests/FileManipulation/UndefinedVariableManipulationTest.php b/tests/FileManipulation/UndefinedVariableManipulationTest.php
index <HASH>..<HASH> 100644
--- a/tests/FileManipulation/UndefinedVariableManipulationTest.php
+++ b/tests/FileManipulation/UndefinedVariableManipulationTest.php
@@ -1,8 +1,6 @@
 <?php
 namespace Psalm\Tests\FileManipulation;
 
-use const PHP_VERSION;
-
 class UndefinedVariableManipulationTest extends FileManipulationTestCase
 {
     /**
@@ -136,7 +134,7 @@ class UndefinedVariableManipulationTest extends FileManipulationTestCase
 
                         new D();
                     }',
-                PHP_VERSION,
+                '7.4',
                 [],
                 true,
             ],
Prevent failures with dev PHP versions

It was failing with dev versions, e.g. `<I>-dev`