diff --git a/tests/Config/ConfigTest.php b/tests/Config/ConfigTest.php index 42e56630d..8da273e3d 100644 --- a/tests/Config/ConfigTest.php +++ b/tests/Config/ConfigTest.php @@ -33,7 +33,7 @@ class ConfigTest extends \Psalm\Tests\TestCase self::$config = new TestConfig(); if (!defined('PSALM_VERSION')) { - define('PSALM_VERSION', '2.0.0'); + define('PSALM_VERSION', '4.0.0'); } if (!defined('PHP_PARSER_VERSION')) { diff --git a/tests/Config/PluginTest.php b/tests/Config/PluginTest.php index dab11d505..ca31a2522 100644 --- a/tests/Config/PluginTest.php +++ b/tests/Config/PluginTest.php @@ -43,7 +43,7 @@ class PluginTest extends \Psalm\Tests\TestCase self::$config = new TestConfig(); if (!defined('PSALM_VERSION')) { - define('PSALM_VERSION', '2.0.0'); + define('PSALM_VERSION', '4.0.0'); } if (!defined('PHP_PARSER_VERSION')) { diff --git a/tests/ProjectCheckerTest.php b/tests/ProjectCheckerTest.php index 980536853..1e82d8cc1 100644 --- a/tests/ProjectCheckerTest.php +++ b/tests/ProjectCheckerTest.php @@ -32,7 +32,7 @@ class ProjectCheckerTest extends TestCase self::$config = new TestConfig(); if (!defined('PSALM_VERSION')) { - define('PSALM_VERSION', '2.0.0'); + define('PSALM_VERSION', '4.0.0'); } if (!defined('PHP_PARSER_VERSION')) { diff --git a/tests/ReportOutputTest.php b/tests/ReportOutputTest.php index 7e09c61f8..8bf5219f2 100644 --- a/tests/ReportOutputTest.php +++ b/tests/ReportOutputTest.php @@ -100,7 +100,7 @@ echo "Successfully executed the command: " . $prefixedData;'; 'driver' => [ 'name' => 'Psalm', 'informationUri' => 'https://psalm.dev', - 'version' => '2.0.0', + 'version' => '4.0.0', 'rules' => [ [ 'id' => '246', diff --git a/tests/StubTest.php b/tests/StubTest.php index 256adc6bd..adfe185f6 100644 --- a/tests/StubTest.php +++ b/tests/StubTest.php @@ -24,7 +24,7 @@ class StubTest extends TestCase self::$config = new TestConfig(); if (!defined('PSALM_VERSION')) { - define('PSALM_VERSION', '2.0.0'); + define('PSALM_VERSION', '4.0.0'); } if (!defined('PHP_PARSER_VERSION')) { diff --git a/tests/TestCase.php b/tests/TestCase.php index 2a1aea6b0..06239d3e7 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -32,7 +32,7 @@ class TestCase extends BaseTestCase ini_set('memory_limit', '-1'); if (!defined('PSALM_VERSION')) { - define('PSALM_VERSION', '2.0.0'); + define('PSALM_VERSION', '4.0.0'); } if (!defined('PHP_PARSER_VERSION')) {