Updating phpci.yml to allow the current level of PHPMD errors, but no more than that.

This commit is contained in:
Dan Cryer 2014-04-25 11:29:00 +00:00
parent 66bfcea8ed
commit c63bbea999

View file

@ -1,18 +1,19 @@
build_settings: build_settings:
verbose: false verbose: false
ignore: ignore:
- "vendor" - "vendor"
- "Tests" - "Tests"
- "PHPCI/Command" # PHPMD complains about un-used parameters, but they are required. - "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) - "public/install.php" # PHPCS really doesn't like PHP mixed with HTML (and so it shouldn't)
test: test:
php_mess_detector: php_mess_detector:
php_code_sniffer: allowed_warnings: 31 # Set max warnings at the current level - Disallow any further errors creeping in.
standard: "PSR2" php_code_sniffer:
php_loc: standard: "PSR2"
php_loc:
failure: failure:
email: email:
committer: true committer: true
cc: ["php-ci@googlegroups.com"] cc: ["php-ci@googlegroups.com"]