|
8 | 8 | "composer-install": { |
9 | 9 | "repository": "https://github.com/Qafoo/QualityAnalyzer.git" |
10 | 10 | } |
11 | | - } |
| 11 | + }, |
| 12 | + "test": "analyze list" |
12 | 13 | }, |
13 | 14 | { |
14 | 15 | "name": "churn", |
|
18 | 19 | "composer-global-install": { |
19 | 20 | "package": "bmitch/churn-php" |
20 | 21 | } |
21 | | - } |
| 22 | + }, |
| 23 | + "test": "churn list" |
22 | 24 | }, |
23 | 25 | { |
24 | 26 | "name": "dephpend", |
|
29 | 31 | "phar": "https://phar.dephpend.com/dephpend.phar", |
30 | 32 | "bin": "/usr/local/bin/dephpend" |
31 | 33 | } |
32 | | - } |
| 34 | + }, |
| 35 | + "test": "dephpend list" |
33 | 36 | }, |
34 | 37 | { |
35 | 38 | "name": "deprecation-detector", |
|
40 | 43 | "phar": "https://github.com/sensiolabs-de/deprecation-detector/releases/download/0.1.0-alpha4/deprecation-detector.phar", |
41 | 44 | "bin": "/usr/local/bin/deprecation-detector" |
42 | 45 | } |
43 | | - } |
| 46 | + }, |
| 47 | + "test": "deprecation-detector list" |
44 | 48 | }, |
45 | 49 | { |
46 | 50 | "name": "deptrac", |
|
51 | 55 | "phar": "http://get.sensiolabs.de/deptrac.phar", |
52 | 56 | "bin": "/usr/local/bin/deptrac" |
53 | 57 | } |
54 | | - } |
| 58 | + }, |
| 59 | + "test": "deptrac list" |
55 | 60 | }, |
56 | 61 | { |
57 | 62 | "name": "design-pattern", |
|
61 | 66 | "composer-install": { |
62 | 67 | "repository": "https://github.com/Halleck45/DesignPatternDetector.git" |
63 | 68 | } |
64 | | - } |
| 69 | + }, |
| 70 | + "test": "design-pattern -V" |
65 | 71 | }, |
66 | 72 | { |
67 | 73 | "name": "parallel-lint", |
|
73 | 79 | "phar": "parallel-lint.phar", |
74 | 80 | "bin": "/usr/local/bin/parallel-lint" |
75 | 81 | } |
76 | | - } |
| 82 | + }, |
| 83 | + "test": "parallel-lint -h" |
77 | 84 | }, |
78 | 85 | { |
79 | 86 | "name": "pdepend", |
|
84 | 91 | "phar": "http://static.pdepend.org/php/latest/pdepend.phar", |
85 | 92 | "bin": "/usr/local/bin/pdepend" |
86 | 93 | } |
87 | | - } |
| 94 | + }, |
| 95 | + "test": "pdepend --version" |
88 | 96 | }, |
89 | 97 | { |
90 | 98 | "name": "phan", |
|
95 | 103 | "phar": "https://github.com/etsy/phan/releases/download/0.10.0/phan.phar", |
96 | 104 | "bin": "/usr/local/bin/phan" |
97 | 105 | } |
98 | | - } |
| 106 | + }, |
| 107 | + "test": "phan -v" |
99 | 108 | }, |
100 | 109 | { |
101 | 110 | "name": "php-coupling-detector", |
|
105 | 114 | "composer-global-install": { |
106 | 115 | "package": "akeneo/php-coupling-detector" |
107 | 116 | } |
108 | | - } |
| 117 | + }, |
| 118 | + "test": "php-coupling-detector list" |
109 | 119 | }, |
110 | 120 | { |
111 | 121 | "name": "php-cs-fixer", |
|
116 | 126 | "phar": "http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar", |
117 | 127 | "bin": "/usr/local/bin/php-cs-fixer" |
118 | 128 | } |
119 | | - } |
| 129 | + }, |
| 130 | + "test": "php-cs-fixer list" |
120 | 131 | }, |
121 | 132 | { |
122 | 133 | "name": "php-formatter", |
|
128 | 139 | "phar": "build/php-formatter.phar", |
129 | 140 | "bin": "/usr/local/bin/php-formatter" |
130 | 141 | } |
131 | | - } |
| 142 | + }, |
| 143 | + "test": "php-formatter list" |
132 | 144 | }, |
133 | 145 | { |
134 | 146 | "name": "php-semver-checker", |
|
139 | 151 | "phar": "http://psvc.coreteks.org/php-semver-checker.phar", |
140 | 152 | "bin": "/usr/local/bin/php-semver-checker" |
141 | 153 | } |
142 | | - } |
| 154 | + }, |
| 155 | + "test": "php-semver-checker list" |
143 | 156 | }, |
144 | 157 | { |
145 | 158 | "name": "phpDocumentor", |
|
150 | 163 | "phar": "http://phpdoc.org/phpDocumentor.phar", |
151 | 164 | "bin": "/usr/local/bin/phpDocumentor" |
152 | 165 | } |
153 | | - } |
| 166 | + }, |
| 167 | + "test": "phpDocumentor list" |
154 | 168 | }, |
155 | 169 | { |
156 | 170 | "name": "phpa", |
|
160 | 174 | "composer-global-install": { |
161 | 175 | "package": "rskuipers/php-assumptions:dev-master" |
162 | 176 | } |
163 | | - } |
| 177 | + }, |
| 178 | + "test": "phpa" |
164 | 179 | }, |
165 | 180 | { |
166 | 181 | "name": "phpca", |
|
170 | 185 | "composer-global-install": { |
171 | 186 | "package": "wapmorgan/php-code-analyzer" |
172 | 187 | } |
173 | | - } |
| 188 | + }, |
| 189 | + "test": "phpca -h" |
174 | 190 | }, |
175 | 191 | { |
176 | 192 | "name": "phpcb", |
|
181 | 197 | "phar": "https://github.com/bytepark/php-phar-qatools/raw/master/phpcb.phar", |
182 | 198 | "bin": "/usr/local/bin/phpcb" |
183 | 199 | } |
184 | | - } |
| 200 | + }, |
| 201 | + "test": "phpcb -V" |
185 | 202 | }, |
186 | 203 | { |
187 | 204 | "name": "phpcbf", |
|
192 | 209 | "phar": "https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar", |
193 | 210 | "bin": "/usr/local/bin/phpcbf" |
194 | 211 | } |
195 | | - } |
| 212 | + }, |
| 213 | + "test": "phpcbf --help" |
196 | 214 | }, |
197 | 215 | { |
198 | 216 | "name": "phpcf", |
|
202 | 220 | "composer-global-install": { |
203 | 221 | "package": "wapmorgan/php-code-fixer" |
204 | 222 | } |
205 | | - } |
| 223 | + }, |
| 224 | + "test": "phpcf -h" |
206 | 225 | }, |
207 | 226 | { |
208 | 227 | "name": "phpcpd", |
|
213 | 232 | "phar": "https://phar.phpunit.de/phpcpd.phar", |
214 | 233 | "bin": "/usr/local/bin/phpcpd" |
215 | 234 | } |
216 | | - } |
| 235 | + }, |
| 236 | + "test": "phpcpd -V" |
217 | 237 | }, |
218 | 238 | { |
219 | 239 | "name": "phpcs", |
|
224 | 244 | "phar": "https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar", |
225 | 245 | "bin": "/usr/local/bin/phpcs" |
226 | 246 | } |
227 | | - } |
| 247 | + }, |
| 248 | + "test": "phpcs --help" |
228 | 249 | }, |
229 | 250 | { |
230 | 251 | "name": "phpda", |
|
239 | 260 | "phar": "https://raw.github.com/mamuz/PhpDependencyAnalysis/master/download/phpda", |
240 | 261 | "bin": "/usr/local/bin/phpda" |
241 | 262 | } |
242 | | - } |
| 263 | + }, |
| 264 | + "test": "phpda list" |
243 | 265 | }, |
244 | 266 | { |
245 | 267 | "name": "phpdoc-to-typehint", |
|
250 | 272 | "phar": "https://github.com/dunglas/phpdoc-to-typehint/releases/download/v0.1.0/phpdoc-to-typehint.phar", |
251 | 273 | "bin": "/usr/local/bin/phpdoc-to-typehint" |
252 | 274 | } |
253 | | - } |
| 275 | + }, |
| 276 | + "test": "phpdoc-to-typehint -V" |
254 | 277 | }, |
255 | 278 | { |
256 | 279 | "name": "phploc", |
|
261 | 284 | "phar": "https://phar.phpunit.de/phploc.phar", |
262 | 285 | "bin": "/usr/local/bin/phploc" |
263 | 286 | } |
264 | | - } |
| 287 | + }, |
| 288 | + "test": "phploc -V" |
265 | 289 | }, |
266 | 290 | { |
267 | 291 | "name": "phpmd", |
|
272 | 296 | "phar": "http://static.phpmd.org/php/latest/phpmd.phar", |
273 | 297 | "bin": "/usr/local/bin/phpmd" |
274 | 298 | } |
275 | | - } |
| 299 | + }, |
| 300 | + "test": "phpmd /usr/local/bin/tools.php text unusedcode" |
276 | 301 | }, |
277 | 302 | { |
278 | 303 | "name": "phpmetrics", |
|
283 | 308 | "phar": "https://github.com/phpmetrics/PhpMetrics/releases/download/v2.3.0/phpmetrics.phar", |
284 | 309 | "bin": "/usr/local/bin/phpmetrics" |
285 | 310 | } |
286 | | - } |
| 311 | + }, |
| 312 | + "test": "phpmetrics --version" |
287 | 313 | }, |
288 | 314 | { |
289 | 315 | "name": "phpmnd", |
|
293 | 319 | "composer-global-install": { |
294 | 320 | "package": "povils/phpmnd" |
295 | 321 | } |
296 | | - } |
| 322 | + }, |
| 323 | + "test": "phpmnd -V" |
297 | 324 | }, |
298 | 325 | { |
299 | 326 | "name": "phpstan", |
300 | 327 | "summary": "Static Analysis Tool", |
301 | 328 | "website": "https://github.com/phpstan/phpstan", |
302 | 329 | "command": { |
303 | 330 | "phar-download": { |
304 | | - "phar": "https://github.com/phpstan/phpstan/releases/download/0.8.5/phpstan.phar", |
| 331 | + "phar": "https://github.com/phpstan/phpstan/releases/download/0.8.4/phpstan.phar", |
305 | 332 | "bin": "/usr/local/bin/phpstan" |
306 | 333 | } |
307 | | - } |
| 334 | + }, |
| 335 | + "test": "phpstan list" |
308 | 336 | }, |
309 | 337 | { |
310 | 338 | "name": "psalm", |
|
314 | 342 | "composer-global-install": { |
315 | 343 | "package": "vimeo/psalm" |
316 | 344 | } |
317 | | - } |
| 345 | + }, |
| 346 | + "test": "psalm -h" |
318 | 347 | }, |
319 | 348 | { |
320 | 349 | "name": "security-checker", |
|
325 | 354 | "phar": "http://get.sensiolabs.org/security-checker.phar", |
326 | 355 | "bin": "/usr/local/bin/security-checker" |
327 | 356 | } |
328 | | - } |
| 357 | + }, |
| 358 | + "test": "security-checker" |
329 | 359 | }, |
330 | 360 | { |
331 | 361 | "name": "testability", |
|
335 | 365 | "composer-global-install": { |
336 | 366 | "package": "edsonmedina/php_testability:dev-master" |
337 | 367 | } |
338 | | - } |
| 368 | + }, |
| 369 | + "test": "testability --help" |
339 | 370 | } |
340 | 371 | ] |
341 | 372 | } |
|
0 commit comments