Checkout Config
filter:
paths: [src/*]
excluded_paths: [vendor/*, tests/*, example/*]
checks:
php: true
tools:
php_mess_detector: true
php_code_sniffer:
config:
standard: "PSR2" # Other Values: PSR2, PEAR, Zend, WordPress, Drupal, TYPO3CMS
sensiolabs_security_checker: true
php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
php_cpd:
enabled: true
excluded_dirs: [vendor, tests]
external_code_coverage:
timeout: 600 # Timeout in seconds.
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php: true
coding_style:
php:
spaces:
other:
after_type_cast: false