build: nodes: analysis: environment: php: 8.2.0 # épingle une version connue pour éviter les 404/compilations variables: COMPOSER_MEMORY_LIMIT: -1 XDEBUG_MODE: coverage dependencies: override: - composer self-update --2 - composer install --no-interaction --prefer-dist --no-scripts tests: override: - php-scrutinizer-run - command: phpcs-run use_website_config: true - | mkdir -p tests/_output if [ -f phpunit.xml.dist ] && [ ! -f phpunit.xml ]; then cp phpunit.xml.dist phpunit.xml; fi php -d xdebug.mode=coverage vendor/bin/phpunit \ --configuration phpunit.xml \ --coverage-clover=tests/_output/coverage.xml tools: external_code_coverage: false checks: php: true coding_style: php: {} filter: {}