Checkout Config
# .scrutinizer.yml
build:
dependencies:
before:
- rm composer.lock
services:
mysql: 5.7
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage'
coverage:
file: 'coverage'
format: 'php-clover'
nodes:
php56:
environment:
php: 5.6
php70:
environment:
php: 7.0
php71:
environment:
php: 7.1
php72:
environment:
php: 7.2
php73:
environment:
php: 7.3
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
Repository Config
# language: php
# tests: true
checks:
php:
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
sql_injection_vulnerabilities: true
security_vulnerabilities: false
return_doc_comments: true
require_php_tag_first: true
parameter_doc_comments: true