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:
parent
6d5f999c75
commit
e5ae26d1e6
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user