Checkout Config
filter:
excluded_paths:
- tests/
dependency_paths:
- vendor/
checks:
php:
code_rating: true
duplication: true
build_failure_conditions:
- 'elements.rating(<= D).exists' # No classes/methods with a rating of D or worse
build:
environment:
mysql: false
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
rabbitmq: false
dependencies:
override:
- composer update --no-interaction
nodes:
analysis:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
bitwise: false
concatenation: true
negation: true