Martin Schäpker
Martin Schäpker

Reputation: 82

PHPStorm, Phpunit PHP_CodeCoverage_Filter::addFileToBlacklist()

When i start the PhpUnit tests (phpunit.phar) from command line everything is fine.

If i start the tests from PhpStorm it throws this error

PHP_CodeCoverage_Filter::addFileToBlacklist()

I use PhpStorm 9.

Upvotes: 0

Views: 1079

Answers (2)

messy
messy

Reputation: 915

If you don't want to use the EAP build you can temporary pin your phpunit/php-code-coverage to "phpunit/php-code-coverage": "dev-master#b8436b000263f6d72fbad1d36890e247ce84857e"

Bug report on GitHub https://github.com/sebastianbergmann/php-code-coverage/issues/390

Upvotes: 1

LazyOne
LazyOne

Reputation: 165088

Please try PhpStorm v9.5 EAP build -- it supports PHPUnit v5 + helper script got rewritten.

Upvotes: 2

Related Questions