build: environment: # For some reasons Composer version depends on PHP version # so we need a version of PHP high enough to get Composer2. php: 7.4.27 nodes: analysis: tests: override: - php-scrutinizer-run build_failure_conditions: # No new major or critical issue is introduced (existing ones are tolerated) - 'issues.severity(>= MAJOR).new.exists' checks: php: true coding_style: php: spaces: around_operators: concatenation: true before_parentheses: closure_definition: true filter: paths: - src/
filter: excluded_paths: - 'tests/*' checks: php: true coding_style: php: { }