Skip to content

Commit b02495a

Browse files
author
Anton Shevchuk
committed
Updated scrutinizer config
1 parent 8c6580b commit b02495a

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.scrutinizer.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@ checks:
44
deprecated_code_usage: true
55
duplication: true
66
no_short_open_tag: true
7-
build_failure_conditions:
8-
- 'project.metric_change("scrutinizer.quality", < -0.10)'
9-
- 'elements.rating(<= D).exists' # No classes/methods with a rating of D or worse
10-
- 'elements.rating(<= D).new.exists' # No new classes/methods with a rating of D or worse allowed
11-
- 'issues.label("coding-style").exists' # No coding style issues allowed
12-
- 'issues.label("coding-style").new.exists' # No new coding style issues allowed
13-
- 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
14-
- 'issues.severity(>= MAJOR).exists' # New major or higher severity issues
15-
- 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9
16-
- 'project.metric("scrutinizer.test_coverage", < 0.80)' # Code Coverage drops below 80%
17-
- 'project.metric_change("scrutinizer.test_coverage", < -0.1)' # Code Coverage decreased from previous inspection by more than 10%
18-
- 'patches.label("Doc Comments").exists' # No doc comments patches allowed
19-
- 'patches.label("Spacing").exists' # No spacing patches allowed
207
build:
218
cache:
229
directories:
@@ -34,8 +21,7 @@ build:
3421
filter:
3522
excluded_paths: [bin, docs, docker, data, tests]
3623
tools:
37-
external_code_coverage:
38-
timeout: 600
24+
external_code_coverage: false
3925
php_analyzer: true
4026
php_code_sniffer:
4127
config:

0 commit comments

Comments
 (0)