diff --git a/tests/.ci/.phpqa.yml b/tests/.ci/.phpqa.yml index 8d948b55..1d338a88 100644 --- a/tests/.ci/.phpqa.yml +++ b/tests/.ci/.phpqa.yml @@ -10,6 +10,7 @@ phpqa: # Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/travis/build/EdgedesignCZ/phpqa/phpqa/): # failed to open dir: No such file or directory # https://travis-ci.org/EdgedesignCZ/phpqa/jobs/558458320#L799 + ignoredFiles: tests/.phpunit/fix-psalm-testcase.php tools: - phpmetrics:0 - phploc diff --git a/tests/.phpunit/fix-psalm-testcase.php b/tests/.phpunit/fix-psalm-testcase.php new file mode 100644 index 00000000..77e41809 --- /dev/null +++ b/tests/.phpunit/fix-psalm-testcase.php @@ -0,0 +1,10 @@ + Could not get class storage for phpunit_framework_testcase" + // > https://github.com/EdgedesignCZ/phpqa/runs/2581795905?check_suite_focus=true#step:7:246 + // > https://github.com/psalm/psalm-plugin-phpunit/issues/30#issuecomment-485485187 + include_once(__DIR__ . "/fix-psalm-testcase.php"); }