Skip to content

Instantly share code, notes, and snippets.

@islomar
Last active March 9, 2018 15:49
Show Gist options
  • Save islomar/cf30e80508f37862532131c7ae256e77 to your computer and use it in GitHub Desktop.
Save islomar/cf30e80508f37862532131c7ae256e77 to your computer and use it in GitHub Desktop.
* `php --ini`
* Find your php.ini file
* `php -m`
* See your modules
* Code coverage
* You need XDebug.
* You can check it with `php --ri xdebug`
* Check if the module appears with `php -m`
* http://www.dieuwe.com/blog/xdebug-ubuntu-1604-php7
* You must configure a whitelist: https://phpunit.de/manual/current/en/code-coverage-analysis.html#code-coverage-analysis.whitelisting-files
* https://phpunit.de/manual/current/en/code-coverage-analysis.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment