danger-phpmd 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/CI.yml +4 -3
- data/Gemfile.lock +83 -88
- data/README.md +2 -2
- data/lib/phpmd/gem_version.rb +1 -1
- data/renovate.json +6 -0
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 340812563d4594a560b7c381e2ef0676f9d25444cda9d0e8d93c90eb4ffffb4f
|
4
|
+
data.tar.gz: 7fb867a2b4fadcdddf6433469523bc86fbdc919b4f15665a8bd3522e7c8154c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52442609ede340b16efcfc915c183851f6acfeed740a43925761239854f705acc5094cdc53efce847b0bcbd0b1969803d834fda9f7090f338aee6133eebc7e7f
|
7
|
+
data.tar.gz: 74d69ed0fe7ec23aba7065d7a508bf54c4ad7bd0e5d8c6270489f60b12d1aee7c14c36cb6cf0568d46ab55f15adc0b2f1ed01aceeab1126c9542dcd75b41d1f1
|
data/.github/workflows/CI.yml
CHANGED
@@ -9,14 +9,15 @@ jobs:
|
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
strategy:
|
11
11
|
matrix:
|
12
|
-
ruby-version: ['
|
12
|
+
ruby-version: ['3.1', '3.2', '3.3', '3.4']
|
13
|
+
php-version: ['8.3', '8.4']
|
13
14
|
|
14
15
|
steps:
|
15
|
-
- uses: actions/checkout@
|
16
|
+
- uses: actions/checkout@v4
|
16
17
|
- name: Setup PHP environment
|
17
18
|
uses: shivammathur/setup-php@v2
|
18
19
|
with:
|
19
|
-
php-version:
|
20
|
+
php-version: ${{ matrix.php-version }}
|
20
21
|
coverage: none
|
21
22
|
tools: phpmd
|
22
23
|
- name: Set up Ruby
|
data/Gemfile.lock
CHANGED
@@ -7,10 +7,11 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.8.
|
11
|
-
public_suffix (>= 2.0.2, <
|
10
|
+
addressable (2.8.7)
|
11
|
+
public_suffix (>= 2.0.2, < 7.0)
|
12
12
|
ast (2.4.2)
|
13
|
-
|
13
|
+
base64 (0.2.0)
|
14
|
+
claide (1.1.0)
|
14
15
|
claide-plugins (0.9.2)
|
15
16
|
cork
|
16
17
|
nap
|
@@ -19,57 +20,44 @@ GEM
|
|
19
20
|
colored2 (3.1.2)
|
20
21
|
cork (0.3.0)
|
21
22
|
colored2 (~> 3.1)
|
22
|
-
danger (
|
23
|
+
danger (9.5.1)
|
24
|
+
base64 (~> 0.2)
|
23
25
|
claide (~> 1.0)
|
24
26
|
claide-plugins (>= 0.9.2)
|
25
27
|
colored2 (~> 3.1)
|
26
28
|
cork (~> 0.1)
|
27
|
-
faraday (>= 0.9.0, <
|
29
|
+
faraday (>= 0.9.0, < 3.0)
|
28
30
|
faraday-http-cache (~> 2.0)
|
29
|
-
git (~> 1.
|
31
|
+
git (~> 1.13)
|
30
32
|
kramdown (~> 2.3)
|
31
33
|
kramdown-parser-gfm (~> 1.0)
|
32
|
-
|
33
|
-
|
34
|
+
octokit (>= 4.0)
|
35
|
+
pstore (~> 0.1)
|
34
36
|
terminal-table (>= 1, < 4)
|
35
37
|
danger-plugin-api (1.0.0)
|
36
38
|
danger (> 2.0)
|
37
|
-
diff-lcs (1.
|
38
|
-
faraday (
|
39
|
-
faraday-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
faraday-multipart (~> 1.0)
|
44
|
-
faraday-net_http (~> 1.0)
|
45
|
-
faraday-net_http_persistent (~> 1.0)
|
46
|
-
faraday-patron (~> 1.0)
|
47
|
-
faraday-rack (~> 1.0)
|
48
|
-
faraday-retry (~> 1.0)
|
49
|
-
ruby2_keywords (>= 0.0.4)
|
50
|
-
faraday-em_http (1.0.0)
|
51
|
-
faraday-em_synchrony (1.0.0)
|
52
|
-
faraday-excon (1.1.0)
|
53
|
-
faraday-http-cache (2.2.0)
|
39
|
+
diff-lcs (1.6.0)
|
40
|
+
faraday (2.12.2)
|
41
|
+
faraday-net_http (>= 2.0, < 3.5)
|
42
|
+
json
|
43
|
+
logger
|
44
|
+
faraday-http-cache (2.5.1)
|
54
45
|
faraday (>= 0.8)
|
55
|
-
faraday-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
faraday-rack (1.0.0)
|
62
|
-
faraday-retry (1.0.3)
|
63
|
-
ffi (1.15.4)
|
64
|
-
formatador (0.3.0)
|
65
|
-
git (1.10.2)
|
46
|
+
faraday-net_http (3.4.0)
|
47
|
+
net-http (>= 0.5.0)
|
48
|
+
ffi (1.17.1)
|
49
|
+
formatador (1.1.0)
|
50
|
+
git (1.19.1)
|
51
|
+
addressable (~> 2.8)
|
66
52
|
rchardet (~> 1.8)
|
67
|
-
guard (2.
|
53
|
+
guard (2.19.1)
|
68
54
|
formatador (>= 0.2.4)
|
69
55
|
listen (>= 2.7, < 4.0)
|
56
|
+
logger (~> 1.6)
|
70
57
|
lumberjack (>= 1.0.12, < 2.0)
|
71
58
|
nenv (~> 0.1)
|
72
59
|
notiffany (~> 0.0)
|
60
|
+
ostruct (~> 0.6)
|
73
61
|
pry (>= 0.13.0)
|
74
62
|
shellany (~> 0.0)
|
75
63
|
thor (>= 0.18.1)
|
@@ -78,78 +66,85 @@ GEM
|
|
78
66
|
guard (~> 2.1)
|
79
67
|
guard-compat (~> 1.1)
|
80
68
|
rspec (>= 2.99.0, < 4.0)
|
81
|
-
|
82
|
-
|
69
|
+
json (2.10.1)
|
70
|
+
kramdown (2.5.1)
|
71
|
+
rexml (>= 3.3.9)
|
83
72
|
kramdown-parser-gfm (1.1.0)
|
84
73
|
kramdown (~> 2.0)
|
74
|
+
language_server-protocol (3.17.0.4)
|
85
75
|
listen (3.0.7)
|
86
76
|
rb-fsevent (>= 0.9.3)
|
87
77
|
rb-inotify (>= 0.9.7)
|
88
|
-
|
89
|
-
|
90
|
-
|
78
|
+
logger (1.6.6)
|
79
|
+
lumberjack (1.2.10)
|
80
|
+
method_source (1.1.0)
|
91
81
|
nap (1.1.0)
|
92
82
|
nenv (0.3.0)
|
93
|
-
|
83
|
+
net-http (0.6.0)
|
84
|
+
uri
|
94
85
|
notiffany (0.1.3)
|
95
86
|
nenv (~> 0.1)
|
96
87
|
shellany (~> 0.0)
|
97
|
-
octokit (
|
98
|
-
faraday (>=
|
99
|
-
sawyer (~> 0.
|
88
|
+
octokit (9.2.0)
|
89
|
+
faraday (>= 1, < 3)
|
90
|
+
sawyer (~> 0.9)
|
100
91
|
open4 (1.3.4)
|
101
|
-
|
102
|
-
|
92
|
+
ostruct (0.6.1)
|
93
|
+
parallel (1.26.3)
|
94
|
+
parser (3.3.7.1)
|
103
95
|
ast (~> 2.4.1)
|
104
|
-
|
96
|
+
racc
|
97
|
+
pry (0.15.2)
|
105
98
|
coderay (~> 1.1)
|
106
99
|
method_source (~> 1.0)
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
100
|
+
pstore (0.1.4)
|
101
|
+
public_suffix (6.0.1)
|
102
|
+
racc (1.8.1)
|
103
|
+
rainbow (3.1.1)
|
104
|
+
rake (13.2.1)
|
105
|
+
rb-fsevent (0.11.2)
|
106
|
+
rb-inotify (0.11.1)
|
112
107
|
ffi (~> 1.0)
|
113
|
-
rchardet (1.
|
114
|
-
regexp_parser (2.
|
115
|
-
rexml (3.
|
116
|
-
rspec (3.
|
117
|
-
rspec-core (~> 3.
|
118
|
-
rspec-expectations (~> 3.
|
119
|
-
rspec-mocks (~> 3.
|
120
|
-
rspec-core (3.
|
121
|
-
rspec-support (~> 3.
|
122
|
-
rspec-expectations (3.
|
108
|
+
rchardet (1.9.0)
|
109
|
+
regexp_parser (2.10.0)
|
110
|
+
rexml (3.4.0)
|
111
|
+
rspec (3.13.0)
|
112
|
+
rspec-core (~> 3.13.0)
|
113
|
+
rspec-expectations (~> 3.13.0)
|
114
|
+
rspec-mocks (~> 3.13.0)
|
115
|
+
rspec-core (3.13.3)
|
116
|
+
rspec-support (~> 3.13.0)
|
117
|
+
rspec-expectations (3.13.3)
|
123
118
|
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
-
rspec-support (~> 3.
|
125
|
-
rspec-mocks (3.
|
119
|
+
rspec-support (~> 3.13.0)
|
120
|
+
rspec-mocks (3.13.2)
|
126
121
|
diff-lcs (>= 1.2.0, < 2.0)
|
127
|
-
rspec-support (~> 3.
|
128
|
-
rspec-support (3.
|
129
|
-
rubocop (1.
|
122
|
+
rspec-support (~> 3.13.0)
|
123
|
+
rspec-support (3.13.2)
|
124
|
+
rubocop (1.71.2)
|
125
|
+
json (~> 2.3)
|
126
|
+
language_server-protocol (>= 3.17.0)
|
130
127
|
parallel (~> 1.10)
|
131
|
-
parser (>= 3.
|
128
|
+
parser (>= 3.3.0.2)
|
132
129
|
rainbow (>= 2.2.2, < 4.0)
|
133
|
-
regexp_parser (>=
|
134
|
-
|
135
|
-
rubocop-ast (>= 1.15.1, < 2.0)
|
130
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
131
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
136
132
|
ruby-progressbar (~> 1.7)
|
137
|
-
unicode-display_width (>=
|
138
|
-
rubocop-ast (1.
|
139
|
-
parser (>= 3.
|
140
|
-
ruby-progressbar (1.
|
141
|
-
|
142
|
-
sawyer (0.8.2)
|
133
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
134
|
+
rubocop-ast (1.38.0)
|
135
|
+
parser (>= 3.3.1.0)
|
136
|
+
ruby-progressbar (1.13.0)
|
137
|
+
sawyer (0.9.2)
|
143
138
|
addressable (>= 2.3.5)
|
144
|
-
faraday (
|
139
|
+
faraday (>= 0.17.3, < 3)
|
145
140
|
shellany (0.0.1)
|
146
|
-
terminal-table (
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
141
|
+
terminal-table (1.6.0)
|
142
|
+
thor (1.3.2)
|
143
|
+
unicode-display_width (3.1.4)
|
144
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
145
|
+
unicode-emoji (4.0.4)
|
146
|
+
uri (1.0.2)
|
147
|
+
yard (0.9.37)
|
153
148
|
|
154
149
|
PLATFORMS
|
155
150
|
ruby
|
@@ -167,4 +162,4 @@ DEPENDENCIES
|
|
167
162
|
yard
|
168
163
|
|
169
164
|
BUNDLED WITH
|
170
|
-
2.
|
165
|
+
2.6.3
|
data/README.md
CHANGED
@@ -40,13 +40,13 @@ jobs:
|
|
40
40
|
- uses: actions/checkout@v2
|
41
41
|
- uses: ruby/setup-ruby@v1
|
42
42
|
with:
|
43
|
-
ruby-version:
|
43
|
+
ruby-version: 3.4
|
44
44
|
bundler-cache: true
|
45
45
|
|
46
46
|
- name: Setup PHP environment
|
47
47
|
uses: shivammathur/setup-php@v2
|
48
48
|
with:
|
49
|
-
php-version: '8.
|
49
|
+
php-version: '8.4'
|
50
50
|
coverage: none
|
51
51
|
tools: phpmd
|
52
52
|
|
data/lib/phpmd/gem_version.rb
CHANGED
data/renovate.json
ADDED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-phpmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyosuke Takayama
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: danger-plugin-api
|
@@ -171,6 +170,7 @@ files:
|
|
171
170
|
- lib/danger_plugin.rb
|
172
171
|
- lib/phpmd/gem_version.rb
|
173
172
|
- lib/phpmd/plugin.rb
|
173
|
+
- renovate.json
|
174
174
|
- spec/fixtures/cleancode_warnings.php
|
175
175
|
- spec/fixtures/no_warnings.php
|
176
176
|
- spec/phpmd_spec.rb
|
@@ -179,7 +179,6 @@ homepage: https://github.com/ktakayama/danger-phpmd
|
|
179
179
|
licenses:
|
180
180
|
- MIT
|
181
181
|
metadata: {}
|
182
|
-
post_install_message:
|
183
182
|
rdoc_options: []
|
184
183
|
require_paths:
|
185
184
|
- lib
|
@@ -194,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
193
|
- !ruby/object:Gem::Version
|
195
194
|
version: '0'
|
196
195
|
requirements: []
|
197
|
-
rubygems_version: 3.
|
198
|
-
signing_key:
|
196
|
+
rubygems_version: 3.6.2
|
199
197
|
specification_version: 4
|
200
198
|
summary: Danger plugin for PHPMD.
|
201
199
|
test_files:
|