Skip to content

Commit

Permalink
Change mode of Xdebug to "coverage" in Docker's configuration to make…
Browse files Browse the repository at this point in the history
… it possible to generate code coverage by PHPUnit
  • Loading branch information
meritoo committed Mar 13, 2021
1 parent 1039d7d commit 670a8ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Common & useful classes, resources, extensions. Based on Symfony framework.
- `getCurrentRouteParameters(): array`
- `getParameter(string $parameter)`
2. Set version of `PHP` to `7.2+` in `composer.json`
3. Change mode of `Xdebug` to `coverage` in Docker's configuration to make it possible to generate code coverage by
`PHPUnit`

# 0.2.3

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ services:
command: --version
volumes:
- .:/var/www/application:cached
environment:
XDEBUG_MODE: coverage

0 comments on commit 670a8ce

Please sign in to comment.