1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

qa: raise php_version in ValidCodeAnalysisTestTrait and

`InvalidCodeAnalysisTestTrait`  to 7.4

This synchronizes with the minimum of the supported PHP versions via `composer.json` requirements.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
This commit is contained in:
Maximilian Bösing 2023-04-10 02:03:13 +02:00
parent 6d5f999c75
commit e5ae26d1e6
No known key found for this signature in database
GPG Key ID: 9A8988C93CEC81A3
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ trait InvalidCodeAnalysisTestTrait
string $code,
string $error_message,
array $error_levels = [],
string $php_version = '7.3'
string $php_version = '7.4'
): void {
$test_name = $this->getTestName();
if (strpos($test_name, 'PHP80-') !== false) {

View File

@ -40,7 +40,7 @@ trait ValidCodeAnalysisTestTrait
string $code,
array $assertions = [],
array $ignored_issues = [],
string $php_version = '7.3'
string $php_version = '7.4'
): void {
$test_name = $this->getTestName();
if (strpos($test_name, 'PHP80-') !== false) {