From e1a4e2e287fceb3cb847d670af52f86d65d52892 Mon Sep 17 00:00:00 2001 From: Mougrim Date: Sun, 22 May 2022 17:01:43 +0300 Subject: [PATCH] Fix tests for new version psalm Signed-off-by: Mougrim --- psalm.xml.dist | 2 +- tests/acceptance/Prophecy.feature | 2 +- tests/acceptance/TestCase.feature | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/psalm.xml.dist b/psalm.xml.dist index 2224d90..b64f292 100755 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -1,6 +1,6 @@ - + diff --git a/tests/acceptance/TestCase.feature b/tests/acceptance/TestCase.feature index dd36870..1f546a1 100644 --- a/tests/acceptance/TestCase.feature +++ b/tests/acceptance/TestCase.feature @@ -7,7 +7,7 @@ Feature: TestCase Given I have the following config """ - + @@ -693,8 +693,8 @@ Feature: TestCase """ When I run Psalm Then I see these errors - | Type | Message | - | InvalidArgument | Argument 1 of NS\MyTestCase::testSomething has no default value, but possibly undefined int provided by NS\MyTestCase::provide():(iterable) | + | Type | Message | + | InvalidArgument | Argument 1 of NS\MyTestCase::testSomething is not optional, but possibly undefined int provided by NS\MyTestCase::provide():(iterable) | And I see no other errors Scenario: Stateful grandchild test case with setUp produces no MissingConstructor