The purpose of this repository is to provide a simple and fast way to reproduce the issue Incorrect detection: line executed is marked as not executed that I had reported.
- Docker CE - see the install guide.
- Docker Compose - it is already included in Docker Desktop for Mac and Windows). If necessary, see the install guide.
Steps to reproduce the bug:
- Build the docker image.
- Install composer dependencies.
docker-compose run php composer install
- Generate the code coverage report
docker-compose run php phpunit tests --coverage-html="report/" --whitelist="src"
- Open the report in your browser. It will look like: