From 77ce6b3c1d6a0e736c2c7a15530224adb4e81fe2 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Fri, 25 Apr 2014 11:29:00 +0000 Subject: [PATCH] Updating phpci.yml to allow the current level of PHPMD errors, but no more than that. --- phpci.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/phpci.yml b/phpci.yml index ec5b056a..7cad819a 100644 --- a/phpci.yml +++ b/phpci.yml @@ -1,18 +1,19 @@ 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) + 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) test: - php_mess_detector: - php_code_sniffer: - standard: "PSR2" - php_loc: + php_mess_detector: + allowed_warnings: 31 # Set max warnings at the current level - Disallow any further errors creeping in. + php_code_sniffer: + standard: "PSR2" + php_loc: failure: - email: - committer: true - cc: ["php-ci@googlegroups.com"] + email: + committer: true + cc: ["php-ci@googlegroups.com"]