mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-26 11:55:00 +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
|
||||
Then I see these errors
|
||||
| Type | Message |
|
||||
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutAll expects class-string, parent type string(type) provided |
|
||||
| UndefinedClass | Class or interface type does not exist |
|
||||
| Type | Message |
|
||||
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutAll expects class-string, parent type "type" provided |
|
||||
| UndefinedClass | Class or interface type does not exist |
|
||||
And I see no other errors
|
||||
|
||||
Scenario: Envelope::withoutStampsOfType returns an envelope with the same message class
|
||||
@ -112,9 +112,9 @@ Feature: Messenger Envelope
|
||||
"""
|
||||
When I run Psalm
|
||||
Then I see these errors
|
||||
| Type | Message |
|
||||
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutStampsOfType expects class-string, parent type string(type) provided |
|
||||
| UndefinedClass | Class or interface type does not exist |
|
||||
| Type | Message |
|
||||
| ArgumentTypeCoercion | Argument 1 of Symfony\Component\Messenger\Envelope::withoutStampsOfType expects class-string, parent type "type" provided |
|
||||
| UndefinedClass | Class or interface type does not exist |
|
||||
And I see no other errors
|
||||
|
||||
Scenario: Envelope::last() expects a class name implementing StampInterface
|
||||
|
Loading…
Reference in New Issue
Block a user