forked from dancryer/PHPCI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpci.yml
32 lines (29 loc) · 902 Bytes
/
phpci.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
build_settings:
verbose: false
ignore:
- "vendor"
- "Tests"
- "PHPCI/Command" # PHPMD complains about un-used parameters, but they are required.
- "public/install.php" # PHPCS really doesn't like PHP mixed with HTML (and so it shouldn't)
- "PHPCI/Migrations" # Ignore the migrations directory, as both PHPMD and PHPCS can't cope with them.
- "PHPCI/Model/Base" # These files are auto-generated, and sometimes hit PHPMD complexity thresholds.
- "PHPCI/Languages" # PHPCS fails on character counts for non-Latin languages
setup:
composer:
action: "install"
prefer_dist: false
test:
php_mess_detector:
allowed_warnings: 0
php_code_sniffer:
standard: "PSR2"
allowed_warnings: 0
allowed_errors: 0
php_loc:
php_unit:
php_docblock_checker:
allowed_warnings: 0
failure:
email:
committer: true
cc: ["[email protected]"]