Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
properties_in_camelcaps: true
parameters_in_camelcaps: true
fix_line_ending: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
build:
environment:
php:
version: 7.1.0
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run
tools:
php_cs_fixer:
config: { level: psr2 }
Global Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
properties_in_camelcaps: true
parameters_in_camelcaps: true
fix_line_ending: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
build:
environment:
php:
version: 7.1.0
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run
tools:
php_cs_fixer:
config: { level: psr2 }