File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,10 @@ private static function queueClassLikeForScanning(
572
572
if (method_exists ($ codebase , 'queueClassLikeForScanning ' )) {
573
573
$ codebase ->queueClassLikeForScanning ($ fq_class_name );
574
574
} else {
575
- /** @psalm-suppress InvalidScalarArgument */
575
+ /**
576
+ * @psalm-suppress InvalidScalarArgument
577
+ * @psalm-suppress InvalidArgument
578
+ */
576
579
$ codebase ->scanner ->queueClassLikeForScanning ($ fq_class_name , $ file_path );
577
580
}
578
581
}
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ Feature: Prophecy
89
89
"""
90
90
When I run Psalm
91
91
Then I see these errors
92
- | Type | Message |
93
- | InvalidScalarArgument | Argument 1 of Prophecy \Argument ::that expects callable (mixed ...):bool , Closure ( ):string (hello ) provided |
92
+ | Type | Message |
93
+ | InvalidScalarArgument | / Argument 1 of Prophecy \\ Argument ::that expects callable \ (mixed ...\ ):bool , ( pure -)? Closure \(\ ):string \ (hello \ ) provided / |
94
94
And I see no other errors
95
95
96
96
Scenario : prophesize() provided by ProphecyTrait is generic
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ Feature: TestCase
142
142
"""
143
143
When I run Psalm
144
144
Then I see these errors
145
- | Type | Message |
146
- | MissingConstructor | NS \MyTestCase has an uninitialized variable $this ->i , but no constructor |
145
+ | Type | Message |
146
+ | MissingConstructor | / NS \\ MyTestCase has an uninitialized ( variable \| property ) \ $this ->i , but no constructor / |
147
147
And I see no other errors
148
148
149
149
Scenario : Missing data provider is reported
You can’t perform that action at this time.
0 commit comments