error message update (#145)

This commit is contained in:
Farhad Safarov 2021-02-14 11:54:10 +03:00 committed by GitHub
parent 1346307e74
commit 9f5b7a1596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@ Feature: Messenger Envelope
""" """
When I run Psalm When I run Psalm
Then I see these errors Then I see these errors
| Type | Message | | Type | Message |
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutAll expects class-string, parent type string(type) provided | | ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutAll expects class-string, parent type "type" provided |
| UndefinedClass | Class or interface type does not exist | | UndefinedClass | Class or interface type does not exist |
And I see no other errors And I see no other errors
Scenario: Envelope::withoutStampsOfType returns an envelope with the same message class Scenario: Envelope::withoutStampsOfType returns an envelope with the same message class
@ -112,9 +112,9 @@ Feature: Messenger Envelope
""" """
When I run Psalm When I run Psalm
Then I see these errors Then I see these errors
| Type | Message | | Type | Message |
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutStampsOfType expects class-string, parent type string(type) provided | | ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutStampsOfType expects class-string, parent type "type" provided |
| UndefinedClass | Class or interface type does not exist | | UndefinedClass | Class or interface type does not exist |
And I see no other errors And I see no other errors
Scenario: Envelope::last() expects a class name implementing StampInterface Scenario: Envelope::last() expects a class name implementing StampInterface