mirror of
https://github.com/ivuorinen/monolog-gdpr-filter.git
synced 2026-03-12 12:01:05 +00:00
* fix: remove xdebug-specific settings from phpunit.xml and composer.json Remove `<ini name="xdebug.mode" value="coverage"/>` from phpunit.xml and `XDEBUG_MODE=coverage` prefix from composer scripts. These fail when xdebug is not installed and are unnecessary when using PCOV for code coverage. * ci: switch from xdebug to pcov for code coverage Both test matrix and coverage jobs now use `coverage: pcov`, matching the existing test-coverage.yaml workflow. PCOV is faster for coverage-only use and avoids the xdebug dependency conflict. * build: replace xdebug with pcov in Docker setup Switch Docker development environment from xdebug to pcov for code coverage and remove the XDEBUG_MODE environment variable from docker-compose.yml. Standardizes on pcov across all environments.
30 lines
534 B
YAML
30 lines
534 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
php:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ..:/app
|
|
- composer-cache:/home/developer/.composer/cache
|
|
working_dir: /app
|
|
environment:
|
|
- COMPOSER_HOME=/home/developer/.composer
|
|
stdin_open: true
|
|
tty: true
|
|
command: tail -f /dev/null
|
|
|
|
# PHP 8.3 for testing compatibility
|
|
php83:
|
|
image: php:8.5-cli-alpine
|
|
volumes:
|
|
- ..:/app
|
|
working_dir: /app
|
|
profiles:
|
|
- testing
|
|
command: php -v
|
|
|
|
volumes:
|
|
composer-cache:
|