File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,14 @@ jobs:
285285 - script : |
286286 cd e2e/bug-10483
287287 ../../bin/phpstan
288+ - script : |
289+ cd e2e/stub-files-errors
290+ OUTPUT=$(../bashunit -a exit_code "1" "../../bin/phpstan")
291+ echo "$OUTPUT"
292+ ../bashunit -a contains 'Method StubFiles\Foo::doFoo() has no return type specified.' "$OUTPUT"
293+ OUTPUT=$(../bashunit -a exit_code "1" "../../bin/phpstan")
294+ echo "$OUTPUT"
295+ ../bashunit -a contains 'Method StubFiles\Foo::doFoo() has no return type specified.' "$OUTPUT"
288296
289297 steps :
290298 - name : " Checkout"
Original file line number Diff line number Diff line change 1+ parameters :
2+ stubFiles :
3+ - stubs/test.stub
4+ paths :
5+ - src
6+ level : 8
Original file line number Diff line number Diff line change 1+ <?php
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace StubFiles;
4+
5+ class Foo
6+ {
7+
8+ public function doFoo()
9+ {
10+
11+ }
12+
13+ }
You can’t perform that action at this time.
0 commit comments