-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
36 lines (36 loc) · 1005 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Since we need to run part of your test suite, most libraries will first
# need to install vendors, for example via composer.
before_commands:
- composer install --dev
tools:
php_cs_fixer:
extensions:
- php
command: php-cs-fixer
enabled: true
filter:
paths: ["app/src/*"]
config:
level: all
php_cpd:
command: phpcpd
# Minimum number of identical lines (default: 5)
min_lines: 5
# Minimum number of identical tokens (default: 70)
min_tokens: 70
# A list of names that should be scanned (default: '*.php')
names:
# Default:
- '*.php'
# A list of excluded directories.
excluded_dirs: ["vendor", "files"]
enabled: true
php_code_sniffer:
extensions:
- php
command: phpcs
enabled: true
filter:
paths: ["app/src/*"]
config:
standard: PSR2