|
1 | 1 | { |
2 | | - "name" : "phpcsstandards/phpcsdevtools", |
3 | | - "description" : "Tools for PHP_CodeSniffer sniff developers.", |
4 | | - "type" : "phpcodesniffer-standard", |
5 | | - "keywords" : [ "phpcs", "devtools", "debug", "dev", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ], |
6 | | - "homepage": "https://phpcsstandards.github.io/PHPCSDevTools/", |
7 | | - "license" : "LGPL-3.0-or-later", |
8 | | - "authors" : [ |
| 2 | + "name": "phpcsstandards/phpcsdevtools", |
| 3 | + "description": "Tools for PHP_CodeSniffer sniff developers.", |
| 4 | + "license": "LGPL-3.0-or-later", |
| 5 | + "type": "phpcodesniffer-standard", |
| 6 | + "keywords": [ |
| 7 | + "phpcs", |
| 8 | + "devtools", |
| 9 | + "debug", |
| 10 | + "dev", |
| 11 | + "static analysis", |
| 12 | + "php_codesniffer", |
| 13 | + "phpcodesniffer-standard" |
| 14 | + ], |
| 15 | + "authors": [ |
9 | 16 | { |
10 | | - "name" : "Juliette Reinders Folmer", |
11 | | - "role" : "lead", |
12 | | - "homepage" : "https://github.com/jrfnl" |
| 17 | + "name": "Juliette Reinders Folmer", |
| 18 | + "homepage": "https://github.com/jrfnl", |
| 19 | + "role": "lead" |
13 | 20 | }, |
14 | 21 | { |
15 | | - "name" : "Contributors", |
16 | | - "homepage" : "https://github.com/PHPCSStandards/PHPCSDevTools/graphs/contributors" |
| 22 | + "name": "Contributors", |
| 23 | + "homepage": "https://github.com/PHPCSStandards/PHPCSDevTools/graphs/contributors" |
17 | 24 | } |
18 | 25 | ], |
19 | | - "support" : { |
20 | | - "issues" : "https://github.com/PHPCSStandards/PHPCSDevTools/issues", |
21 | | - "source" : "https://github.com/PHPCSStandards/PHPCSDevTools", |
| 26 | + "homepage": "https://phpcsstandards.github.io/PHPCSDevTools/", |
| 27 | + "support": { |
| 28 | + "issues": "https://github.com/PHPCSStandards/PHPCSDevTools/issues", |
| 29 | + "source": "https://github.com/PHPCSStandards/PHPCSDevTools", |
22 | 30 | "security": "https://github.com/PHPCSStandards/PHPCSDevTools/security/policy" |
23 | 31 | }, |
24 | | - "require" : { |
25 | | - "php" : ">=5.4", |
26 | | - "squizlabs/php_codesniffer" : "^3.1.0 || ^4.0", |
27 | | - "dealerdirect/phpcodesniffer-composer-installer" : "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0" |
| 32 | + "require": { |
| 33 | + "php": ">=5.4", |
| 34 | + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", |
| 35 | + "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" |
28 | 36 | }, |
29 | | - "require-dev" : { |
30 | | - "phpunit/phpunit" : "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.5.32 || ^11.3.3", |
31 | | - "php-parallel-lint/php-parallel-lint": "^1.4.0", |
| 37 | + "require-dev": { |
32 | 38 | "php-parallel-lint/php-console-highlighter": "^1.0.0", |
| 39 | + "php-parallel-lint/php-parallel-lint": "^1.4.0", |
33 | 40 | "phpcsstandards/phpcsdevcs": "^1.2.0", |
34 | | - "phpcsstandards/phpcsutils" : "^1.0", |
| 41 | + "phpcsstandards/phpcsutils": "^1.0", |
| 42 | + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.5.32 || ^11.3.3", |
35 | 43 | "yoast/phpunit-polyfills": "^1.1 || ^2.0 || ^3.0" |
36 | 44 | }, |
37 | | - "config": { |
38 | | - "allow-plugins": { |
39 | | - "dealerdirect/phpcodesniffer-composer-installer": true |
40 | | - }, |
41 | | - "lock": false |
42 | | - }, |
43 | | - "autoload" : { |
| 45 | + "minimum-stability": "dev", |
| 46 | + "prefer-stable": true, |
| 47 | + "autoload": { |
44 | 48 | "psr-4": { |
45 | 49 | "PHPCSDevTools\\Scripts\\": "Scripts/" |
46 | 50 | } |
47 | 51 | }, |
48 | | - "autoload-dev" : { |
| 52 | + "autoload-dev": { |
49 | 53 | "psr-4": { |
50 | 54 | "PHPCSDevTools\\Tests\\": "Tests/" |
51 | 55 | } |
52 | 56 | }, |
53 | 57 | "bin": [ |
54 | 58 | "bin/phpcs-check-feature-completeness" |
55 | 59 | ], |
56 | | - "minimum-stability": "dev", |
57 | | - "prefer-stable": true, |
58 | | - "scripts" : { |
| 60 | + "config": { |
| 61 | + "allow-plugins": { |
| 62 | + "dealerdirect/phpcodesniffer-composer-installer": true |
| 63 | + }, |
| 64 | + "lock": false |
| 65 | + }, |
| 66 | + "scripts": { |
59 | 67 | "lint": [ |
60 | 68 | "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git" |
61 | 69 | ], |
|
69 | 77 | "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf" |
70 | 78 | ], |
71 | 79 | "test": [ |
72 | | - "@php ./vendor/phpunit/phpunit/phpunit" |
| 80 | + "@phpunit" |
73 | 81 | ], |
74 | 82 | "test-sniff": [ |
75 | | - "@php ./vendor/phpunit/phpunit/phpunit --testsuite DebugSniff" |
| 83 | + "@phpunit --testsuite DebugSniff" |
76 | 84 | ], |
77 | 85 | "test-tools": [ |
78 | | - "@php ./vendor/phpunit/phpunit/phpunit --testsuite DevTools" |
| 86 | + "@phpunit --testsuite DevTools" |
79 | 87 | ], |
80 | 88 | "test-lte9": [ |
81 | | - "@php ./vendor/phpunit/phpunit/phpunit -c phpunitlte9.xml.dist" |
| 89 | + "@phpunit -c phpunitlte9.xml.dist" |
82 | 90 | ], |
83 | 91 | "test-sniff-lte9": [ |
84 | | - "@php ./vendor/phpunit/phpunit/phpunit -c phpunitlte9.xml.dist --testsuite DebugSniff" |
| 92 | + "@phpunit -c phpunitlte9.xml.dist --testsuite DebugSniff" |
85 | 93 | ], |
86 | 94 | "test-tools-lte9": [ |
87 | | - "@php ./vendor/phpunit/phpunit/phpunit -c phpunitlte9.xml.dist --testsuite DevTools" |
| 95 | + "@phpunit -c phpunitlte9.xml.dist --testsuite DevTools" |
88 | 96 | ], |
89 | 97 | "check-complete": [ |
90 | 98 | "@php ./bin/phpcs-check-feature-completeness ./PHPCSDebug" |
| 99 | + ], |
| 100 | + "phpunit": [ |
| 101 | + "@xdebug", |
| 102 | + "@php ./vendor/phpunit/phpunit/phpunit" |
| 103 | + ], |
| 104 | + "xdebug": [ |
| 105 | + "@putenv XDEBUG_MODE=coverage" |
91 | 106 | ] |
92 | 107 | } |
93 | 108 | } |
0 commit comments