Checkout Config
# language: php
# tests: true
filter:
excluded_paths:
- "examples/"
- "resources/"
- "tests/"
tools:
external_code_coverage: true
coding_style:
php:
indentation:
general:
use_tabs: false
size: 4
build:
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run
checks:
php:
code_rating: true
duplication: false
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:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false