Checkout Config
checks:
php: true
tools:
external_code_coverage:
runs: 1 # Scrutinizer will wait for this many code coverage submissions
timeout: 600 # Timeout in seconds.
filter:
excluded_paths:
- 'tests/'
build:
environment:
# Languages
php:
version: "7.4"
ini:
memory_limit: "-1"
tests:
override:
- php-scrutinizer-run
Repository Config
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:
indentation:
general:
size: 2
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false