File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,12 +30,9 @@ build:
3030 ini :
3131 memory_limit : " -1"
3232
33- # 🚀 PCOV instead of Xdebug (key)
34- pcov.enabled : " 1"
35- pcov.directory : " src"
36-
37- # 🔒 Desactivate all possible noise
38- xdebug.mode : " off"
33+ # PHPUnit runs tests in separate processes; Xdebug keeps coverage
34+ # available across those process boundaries.
35+ xdebug.mode : " coverage"
3936 opcache.enable_cli : " 0"
4037 opcache.jit : " 0"
4138 opcache.jit_buffer_size : " 0"
7572
7673 dependencies :
7774 override :
78- # Installing PCOV
79- - pecl install pcov
80-
8175 # ⚡ Optimized composer
8276 - composer install -o --no-interaction --no-progress --prefer-dist --classmap-authoritative
8377
@@ -106,8 +100,7 @@ build:
106100 stop_on_failure: true
107101 override:
108102 - command: >
109- php -d pcov.enabled=1
110- -d pcov.directory=src
103+ XDEBUG_MODE=coverage
111104 vendor/bin/phpunit
112105 --configuration phpunit.xml.dist
113106 --colors=never
@@ -118,4 +111,4 @@ build:
118111 idle_timeout: 1200
119112 coverage:
120113 file: "cache/coverage/coverage.xml"
121- format: "clover"
114+ format: "clover"
Original file line number Diff line number Diff line change 1616 "ext-curl" : " *" ,
1717 "ext-gmp" : " *" ,
1818 "psfs/propel" : " dev-master" ,
19- "symfony/console" : " 7.4.14 " ,
20- "symfony/finder" : " 7.4.14 " ,
21- "symfony/translation" : " 7.4.14 " ,
19+ "symfony/console" : " 7.4.18 " ,
20+ "symfony/finder" : " 7.4.17 " ,
21+ "symfony/translation" : " 7.4.17 " ,
2222 "twig/twig" : " 3.28.0" ,
23- "monolog/monolog" : " 3.10 .0" ,
23+ "monolog/monolog" : " 3.11 .0" ,
2424 "matthiasmullie/minify" : " 1.3.75" ,
2525 "firebase/php-jwt" : " 7.1.0" ,
2626 "robmorgan/phinx" : " 0.16.12"
2727 },
2828 "require-dev" : {
2929 "phpunit/phpunit" : " 11.5.56" ,
3030 "roave/security-advisories" : " dev-master" ,
31- "symfony/process" : " 7.4.13 "
31+ "symfony/process" : " 7.4.18 "
3232 },
3333 "config" : {
3434 "optimize-autoloader" : true ,
You can’t perform that action at this time.
0 commit comments