Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Fix Travis phpunit error #91

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kienstra
Copy link
Contributor

@kienstra kienstra commented May 10, 2021

Change

Prevents a fatal error by setting an environment variable, per sebastianbergmann/php-code-coverage#834 (comment)

Background

Fatal error: Uncaught SebastianBergmann\CodeCoverage\RuntimeException: XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set in /home/travis/build/xwp/block-scaffolding-wp/vendor/phpunit/php-code-coverage/src/Driver/Xdebug.php on line 50

https://travis-ci.com/github/xwp/block-scaffolding-wp/builds/225499204#L428

@kienstra kienstra changed the title Explore fixes Travis phpunit error Explore fixes for Travis phpunit error May 10, 2021
@kienstra kienstra mentioned this pull request May 10, 2021
@kienstra kienstra changed the title Explore fixes for Travis phpunit error Fix Travis phpunit error May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant