mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-30 04:29:10 +01:00
error message update (#145)
This commit is contained in:
parent
1346307e74
commit
9f5b7a1596
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user