We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f05f7f commit 284e6caCopy full SHA for 284e6ca
1 file changed
.scrutinizer.yml
@@ -9,11 +9,17 @@ tools:
9
php_mess_detector: true
10
php_code_sniffer:
11
config:
12
- standard: PSR1
+ standard: PSR2
13
sensiolabs_security_checker: true
14
php_loc:
15
excluded_dirs:
16
- vendor
17
- tests
18
php_pdepend: true
19
php_sim: true
20
+build_failure_conditions:
21
+ - 'elements.rating(<= D).new.exists' # No new classes/methods with a rating of D or worse allowed (useful for legacy code)
22
+ - 'issues.label("coding-style").new.exists' # No new coding style issues allowed
23
+ - 'issues.label("coding-style").new.count > 5' # More than 5 new coding style issues.
24
+ - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
25
+ - 'project.metric("scrutinizer.quality", < 6)' # Code Quality Rating drops below 6
0 commit comments