Skip to content

Commit fa400be

Browse files
committed
Update scrutinizer failure conditions
1 parent bc53b69 commit fa400be

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.scrutinizer.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ tools:
1616
php_pdepend: true
1717
php_sim: true
1818
build_failure_conditions:
19-
- 'elements.rating(<= D).new.exists' # No new classes/methods with a rating of D or worse allowed (useful for legacy code)
20-
- 'issues.label("coding-style").new.exists' # No new coding style issues allowed
21-
- 'issues.label("coding-style").new.count > 5' # More than 5 new coding style issues.
22-
- 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
23-
- 'project.metric("scrutinizer.quality", < 6)' # Code Quality Rating drops below 6
19+
- 'elements.rating(< B).new.exists'
20+
- 'issues.label("coding-style").new.exists'
21+
- 'issues.severity(>= MAJOR).new.exists'
22+
- 'project.metric("scrutinizer.quality", < 9)'

0 commit comments

Comments
 (0)