File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -216,25 +216,25 @@ jobs:
216
216
../bashunit -a contains 'Method class@anonymous/TestClassUsingTrait.php:20::doBar() should return stdClass but returns Exception.' "$OUTPUT"
217
217
- script : |
218
218
cd e2e/bad-exclude-paths
219
- OUTPUT=$(../../bin/phpstan analyse -c ignore.neon || true)
219
+ OUTPUT=$(../../bin/phpstan analyse -c ignore.neon 2>&1 || true)
220
220
echo "$OUTPUT"
221
221
../bashunit -a contains 'Invalid entry in ignoreErrors' "$OUTPUT"
222
222
../bashunit -a contains 'tests is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"
223
223
- script : |
224
224
cd e2e/bad-exclude-paths
225
- OUTPUT=$(../../bin/phpstan analyse -c phpneon.php || true)
225
+ OUTPUT=$(../../bin/phpstan analyse -c phpneon.php 2>&1 || true)
226
226
echo "$OUTPUT"
227
227
../bashunit -a contains 'Invalid entry in ignoreErrors' "$OUTPUT"
228
228
../bashunit -a contains 'src/test.php is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"
229
229
- script : |
230
230
cd e2e/bad-exclude-paths
231
- OUTPUT=$(../../bin/phpstan analyse -c excludePaths.neon || true)
231
+ OUTPUT=$(../../bin/phpstan analyse -c excludePaths.neon 2>&1 || true)
232
232
echo "$OUTPUT"
233
233
../bashunit -a contains 'Invalid entry in excludePaths' "$OUTPUT"
234
234
../bashunit -a contains 'tests is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"
235
235
- script : |
236
236
cd e2e/bad-exclude-paths
237
- OUTPUT=$(../../bin/phpstan analyse -c phpneon2.php || true)
237
+ OUTPUT=$(../../bin/phpstan analyse -c phpneon2.php 2>&1 || true)
238
238
echo "$OUTPUT"
239
239
../bashunit -a contains 'Invalid entry in excludePaths' "$OUTPUT"
240
240
../bashunit -a contains 'src/test.php is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"
You can’t perform that action at this time.
0 commit comments