build: environment: php: 8.1 nodes: analysis: tests: override: - php-scrutinizer-run tests-and-coverage: environment: php: ini: "xdebug.mode": coverage tests: override: - phpcs-run ./src --standard=PSR12 --encoding=utf-8 - command: php vendor/bin/phpunit --coverage-clover=.reports/clover.xml coverage: file: .reports/clover.xml format: php-clover checks: php: psr2_switch_declaration: true psr2_class_declaration: true no_short_open_tag: true deprecated_code_usage: true code_rating: true duplication: true filter: excluded_paths: [bin, docs, docker, data, tests, vendor] tools: php_analyzer: true php_code_coverage: true php_code_sniffer: config: standard: PSR12 php_cpd: enabled: true excluded_dirs: [bin, docs, docker, data, tests, vendor] php_loc: enabled: true excluded_dirs: [bin, docs, docker, data, tests, vendor] php_mess_detector: true php_pdepend: true sensiolabs_security_checker: true
build: nodes: analysis: project_setup: override: - 'true' tests: override: - php-scrutinizer-run - command: phpcs-run use_website_config: true filter: excluded_paths: - 'tests/*' checks: php: true coding_style: php: spaces: around_operators: assignment: false