Skip to content

Commit 0b108f9

Browse files
committed
Fixup
1 parent 69d2c9b commit 0b108f9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.1 || ^8.0",
13+
"php": "^7.4 || ^8.0",
1414
"ext-simplexml": "*",
1515
"composer/semver": "^1.4 || ^2.0 || ^3.0",
1616
"composer/package-versions-deprecated": "^1.10",
17-
"vimeo/psalm": "dev-master || dev-4.x || ^4.7.1 || ^5@beta || ^5.0"
17+
"vimeo/psalm": "dev-master || ^5@beta || ^5.0"
1818
},
1919
"conflict": {
2020
"phpunit/phpunit": "<7.5"

src/Hooks/TestCaseHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ static function (
387387
}
388388
};
389389

390+
/** @psalm-suppress DeprecatedClass Will be removed soon */
390391
/** @var Type\Atomic\TArray|Type\Atomic\TKeyedArray|Type\Atomic\TList $dataset_type */
391392
$dataset_type = self::getAtomics($provider_return_type->type_params[1])['array'];
392393

tests/acceptance/Prophecy.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Feature: Prophecy
7474
When I run Psalm
7575
Then I see no errors
7676

77-
Scenario: Argument::that() only accepts callable with boolean return type [Psalm 4]
77+
Scenario: Argument::that() only accepts callable with boolean return type
7878
Given I have the following code
7979
"""
8080
class MyTestCase extends TestCase
@@ -87,7 +87,6 @@ Feature: Prophecy
8787
}
8888
}
8989
"""
90-
And I have Psalm older than "5.0" (because of "changed issue type")
9190
When I run Psalm
9291
Then I see these errors
9392
| Type | Message |

tests/acceptance/TestCase.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ Feature: TestCase
612612
When I run Psalm
613613
Then I see no errors
614614

615-
Scenario: Provider omitting offsets is fine when test method has defaults for those params (specified as constants) [Psalm 4]
615+
Scenario: Provider omitting offsets is fine when test method has defaults for those params (specified as constants)
616616
Given I have the following code
617617
"""
618618
class MyTestCase extends TestCase
@@ -632,7 +632,6 @@ Feature: TestCase
632632
}
633633
}
634634
"""
635-
And I have Psalm older than "5.0" (because of "sealed shapes")
636635
When I run Psalm
637636
Then I see no errors
638637

0 commit comments

Comments
 (0)