File tree Expand file tree Collapse file tree 6 files changed +106
-13
lines changed Expand file tree Collapse file tree 6 files changed +106
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ jobs:
111
111
uses : codecov/test-results-action@v1
112
112
with :
113
113
token : ${{ secrets.CODECOV_TOKEN }}
114
+ - name : Upload coverage to Qlty
115
+ if : ${{ matrix.os != 'windows-latest' && matrix.php_version == '8.1' && matrix.dependencies_level != '--prefer-lowest' }}
116
+ uses : qltysh/qlty-action/coverage@v1
117
+ with :
118
+ token : {{secrets.QLTY_COVERAGE_TOKEN}}
119
+ files : coverage.xml
114
120
115
121
slack-notify :
116
122
needs : [run-tests, style-checks]
Original file line number Diff line number Diff line change
1
+ *
2
+ ! configs
3
+ ! configs /**
4
+ ! hooks
5
+ ! hooks /**
6
+ ! qlty.toml
7
+ ! .gitignore
Original file line number Diff line number Diff line change
1
+ rules :
2
+ document-start : disable
3
+ quoted-strings :
4
+ required : only-when-needed
5
+ extra-allowed : ["{|}"]
6
+ key-duplicates : {}
7
+ octal-values :
8
+ forbid-implicit-octal : true
Original file line number Diff line number Diff line change
1
+ # This file was automatically generated by `qlty init`.
2
+ # You can modify it to suit your needs.
3
+ # We recommend you to commit this file to your repository.
4
+ #
5
+ # This configuration is used by both Qlty CLI and Qlty Cloud.
6
+ #
7
+ # Qlty CLI -- Code quality toolkit for developers
8
+ # Qlty Cloud -- Fully automated Code Health Platform
9
+ #
10
+ # Try Qlty Cloud: https://qlty.sh
11
+ #
12
+ # For a guide to configuration, visit https://qlty.sh/d/config
13
+ # Or for a full reference, visit https://qlty.sh/d/qlty-toml
14
+ config_version = " 0"
15
+
16
+ exclude_patterns = [
17
+ " *_min.*" ,
18
+ " *-min.*" ,
19
+ " *.min.*" ,
20
+ " **/.yarn/**" ,
21
+ " **/*.d.ts" ,
22
+ " **/assets/**" ,
23
+ " **/bower_components/**" ,
24
+ " **/build/**" ,
25
+ " **/cache/**" ,
26
+ " **/config/**" ,
27
+ " **/db/**" ,
28
+ " **/deps/**" ,
29
+ " **/dist/**" ,
30
+ " **/extern/**" ,
31
+ " **/external/**" ,
32
+ " **/generated/**" ,
33
+ " **/Godeps/**" ,
34
+ " **/gradlew/**" ,
35
+ " **/mvnw/**" ,
36
+ " **/node_modules/**" ,
37
+ " **/protos/**" ,
38
+ " **/seed/**" ,
39
+ " **/target/**" ,
40
+ " **/templates/**" ,
41
+ " **/testdata/**" ,
42
+ " **/vendor/**" , " integrationtests/" ,
43
+ ]
44
+
45
+ test_patterns = [
46
+ " **/test/**" ,
47
+ " **/spec/**" ,
48
+ " **/*.test.*" ,
49
+ " **/*.spec.*" ,
50
+ " **/*_test.*" ,
51
+ " **/*_spec.*" ,
52
+ " **/test_*.*" ,
53
+ " **/spec_*.*" ,
54
+ ]
55
+
56
+ [smells ]
57
+ mode = " comment"
58
+
59
+ [smells .boolean_logic ]
60
+ threshold = 4
61
+
62
+ [smells .file_complexity ]
63
+ threshold = 55
64
+
65
+ [smells .return_statements ]
66
+ threshold = 4
67
+ enabled = false
68
+
69
+ [smells .nested_control_flow ]
70
+ threshold = 4
71
+
72
+ [smells .function_parameters ]
73
+ threshold = 4
74
+
75
+ [smells .function_complexity ]
76
+ threshold = 16
77
+
78
+ [smells .duplication ]
79
+ enabled = true
80
+ threshold = 20
81
+
82
+ [[source ]]
83
+ name = " default"
84
+ default = true
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Provides a PHP CodeSniffer ruleset for the MO4 coding standard
4
4
5
5
[ ![ Build Status] ( https://github.com/mayflower/mo4-coding-standard/actions/workflows/ci.yml/badge.svg )] ( https://github.com/mayflower/mo4-coding-standard/actions )
6
6
[ ![ Code Coverage] ( https://codecov.io/gh/mayflower/mo4-coding-standard/branch/master/graph/badge.svg )] ( https://codecov.io/gh/mayflower/mo4-coding-standard/branch/master/ )
7
- [ ![ Codeclimate Maintainability] ( https://api.codeclimate.com/v1/badges/16114548a0315d993868/ maintainability )] ( https://codeclimate.com/github /mayflower/mo4-coding-standard/maintainability )
7
+ [ ![ Qlty Maintainability] ( https://qlty.sh/gh/mayflower/projects/mo4-coding-standard/ maintainability.svg )] ( https://qlty.sh/gh /mayflower/projects/ mo4-coding-standard )
8
8
[ ![ SonarQube Maintainability] ( https://sonarcloud.io/api/project_badges/measure?project=mayflower_mo4-coding-standard&metric=sqale_rating )] ( https://sonarcloud.io/dashboard?id=mayflower_mo4-coding-standard )
9
9
10
10
[ ![ Latest Stable Version] ( https://poser.pugx.org/mayflower/mo4-coding-standard/v/stable )] ( https://packagist.org/packages/mayflower/mo4-coding-standard )
You can’t perform that action at this time.
0 commit comments