Closed esurov closed 1 year ago
Failed tests problem was fixed by changing permissions to /tmp/xdebug.log
file with chmod a+w /tmp/xdebug.log
but the coverage problem persists:
Error: This version of PHPUnit does not support code coverage on PHP 8
This issue could be fixed by merging my PR: https://github.com/inpsyde/modularity/pull/31
Description of the bug
Running tests with PHP 8.2 I'm getting an error: Error: This version of PHPUnit does not support code coverage on PHP 8
Also some tests fail out of the box:
1) Inpsyde\Modularity\Tests\Unit\Properties\PluginPropertiesTest::testIsMuPlugin with data set "is not mu-plugin" ('/wp-content/plugins/the-plugin/', '/wp-content/mu-plugins/', false)
2) Inpsyde\Modularity\Tests\Unit\Properties\PluginPropertiesTest::testIsMuPlugin with data set "is mu-plugin" ('/wp-content/mu-plugins/the-plugin/', '/wp-content/mu-plugins/', true)
Reproduction instructions
Expected behavior
All unit tests pass
Environment info
Relevant log output
No response
Additional context
No response
Code of Conduct