|
1 | 1 | { |
2 | 2 | "name": "hyperized/xml-validator", |
| 3 | + "type": "library", |
3 | 4 | "description": "A simple PHP XML validator", |
4 | 5 | "keywords": [ |
5 | 6 | "xml", |
6 | 7 | "validator" |
7 | 8 | ], |
8 | | - "type": "library", |
9 | | - "minimum-stability": "stable", |
10 | 9 | "license": "MIT", |
11 | 10 | "authors": [ |
12 | 11 | { |
|
16 | 15 | ], |
17 | 16 | "require": { |
18 | 17 | "php": ">=7.2", |
19 | | - "ext-libxml": "^7.2", |
20 | | - "ext-dom": "20031129" |
| 18 | + "ext-dom": "20031129", |
| 19 | + "ext-libxml": "^7.2" |
21 | 20 | }, |
22 | 21 | "require-dev": { |
23 | 22 | "ext-mbstring": "^7.2", |
24 | | - "phpunit/phpunit": "^7 || ^8", |
25 | | - "squizlabs/php_codesniffer": "^3.5", |
26 | | - "povils/phpmnd": "^2.0", |
27 | 23 | "bmitch/churn-php": "^1.0.3", |
| 24 | + "ergebnis/composer-normalize": "^2.3", |
| 25 | + "infection/infection": "^0.15.0", |
28 | 26 | "phan/phan": "^2.4", |
29 | | - "phpstan/phpstan": "^0.12.0", |
30 | 27 | "phpmd/phpmd": "@stable", |
31 | | - "infection/infection": "^0.15.0", |
| 28 | + "phpstan/phpstan": "^0.12.0", |
| 29 | + "phpunit/phpunit": "^7 || ^8 || ^9", |
| 30 | + "povils/phpmnd": "^2.0", |
| 31 | + "squizlabs/php_codesniffer": "^3.5", |
32 | 32 | "vimeo/psalm": "^3.8" |
33 | 33 | }, |
34 | 34 | "autoload": { |
|
41 | 41 | "Hyperized\\Xml\\Tests\\": "tests/" |
42 | 42 | } |
43 | 43 | }, |
| 44 | + "minimum-stability": "stable", |
44 | 45 | "scripts": { |
45 | | - "phpunit": "vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist", |
46 | | - "phan": "vendor/bin/phan --allow-polyfill-parser", |
47 | | - "phpmd": "vendor/bin/phpmd --strict src text cyclomatic.xml", |
48 | | - "phpcs": "vendor/bin/phpcs src --standard=PSR2", |
49 | | - "phpcbf": "vendor/bin/phpcbf src", |
50 | | - "phpmnd": "vendor/bin/phpmnd src", |
51 | 46 | "churn": "vendor/bin/churn run src", |
52 | | - "phpstan": "vendor/bin/phpstan --level=7 analyse src tests", |
| 47 | + "churn.bat": "vendor\\bin\\churn.bat run src", |
53 | 48 | "infection": "vendor/bin/infection", |
54 | | - "psalm": "vendor/bin/psalm", |
| 49 | + "infection.bat": "vendor\\bin\\infection.bat", |
| 50 | + "phan": "vendor/bin/phan --allow-polyfill-parser", |
55 | 51 | "phan.bat": "vendor\\bin\\phan.bat --allow-polyfill-parser", |
56 | | - "phpmd.bat": "vendor\\bin\\phpmd.bat --strict src text cyclomatic.xml", |
57 | | - "phpcs.bat": "vendor\\bin\\phpcs.bat src --standard=PSR2", |
| 52 | + "phpcbf": "vendor/bin/phpcbf src", |
58 | 53 | "phpcbf.bat": "vendor\\bin\\phpcbf.bat src", |
| 54 | + "phpcs": "vendor/bin/phpcs src --standard=PSR2", |
| 55 | + "phpcs.bat": "vendor\\bin\\phpcs.bat src --standard=PSR2", |
| 56 | + "phpmd": "vendor/bin/phpmd --strict src text cyclomatic.xml", |
| 57 | + "phpmd.bat": "vendor\\bin\\phpmd.bat --strict src text cyclomatic.xml", |
| 58 | + "phpmnd": "vendor/bin/phpmnd src", |
59 | 59 | "phpmnd.bat": "vendor\\bin\\phpmnd.bat src", |
60 | | - "churn.bat": "vendor\\bin\\churn.bat run src", |
| 60 | + "phpstan": "vendor/bin/phpstan --level=7 analyse src tests", |
61 | 61 | "phpstan.bat": "vendor\\bin\\phpstan.bat --level=7 analyse src tests", |
62 | | - "infection.bat": "vendor\\bin\\infection.bat", |
| 62 | + "phpunit": "vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist", |
| 63 | + "psalm": "vendor/bin/psalm", |
63 | 64 | "psalm.bat": "vendor\\bin\\psalm.bat", |
64 | | - "test-phpunit-ubuntu-latest": [ |
65 | | - "@phpunit" |
66 | | - ], |
67 | | - "test-phan-ubuntu-latest": [ |
68 | | - "@phan" |
69 | | - ], |
70 | | - "test-phpmd-ubuntu-latest": [ |
71 | | - "@phpmd" |
72 | | - ], |
73 | | - "test-phpcs-ubuntu-latest": [ |
74 | | - "@phpcs" |
75 | | - ], |
76 | | - "test-phpcbf-ubuntu-latest": [ |
77 | | - "@phpcbf" |
78 | | - ], |
79 | | - "test-phpmnd-ubuntu-latest": [ |
80 | | - "@phpmnd" |
| 65 | + "test-churn-macos-latest": [ |
| 66 | + "@churn" |
81 | 67 | ], |
82 | 68 | "test-churn-ubuntu-latest": [ |
83 | 69 | "@churn" |
84 | 70 | ], |
85 | | - "test-phpstan-ubuntu-latest": [ |
86 | | - "@phpstan" |
| 71 | + "test-infection-macos-latest": [ |
| 72 | + "@infection" |
87 | 73 | ], |
88 | 74 | "test-infection-ubuntu-latest": [ |
89 | 75 | "@infection" |
90 | 76 | ], |
91 | | - "test-psalm-ubuntu-latest": [ |
92 | | - "@psalm" |
93 | | - ], |
94 | | - "test-phpunit-macos-latest": [ |
95 | | - "@phpunit" |
96 | | - ], |
97 | 77 | "test-phan-macos-latest": [ |
98 | 78 | "@phan" |
99 | 79 | ], |
100 | | - "test-phpmd-macos-latest": [ |
101 | | - "@phpmd" |
| 80 | + "test-phan-ubuntu-latest": [ |
| 81 | + "@phan" |
| 82 | + ], |
| 83 | + "test-phpcbf-macos-latest": [ |
| 84 | + "@phpcbf" |
| 85 | + ], |
| 86 | + "test-phpcbf-ubuntu-latest": [ |
| 87 | + "@phpcbf" |
102 | 88 | ], |
103 | 89 | "test-phpcs-macos-latest": [ |
104 | 90 | "@phpcs" |
105 | 91 | ], |
106 | | - "test-phpcbf-macos-latest": [ |
107 | | - "@phpcbf" |
| 92 | + "test-phpcs-ubuntu-latest": [ |
| 93 | + "@phpcs" |
| 94 | + ], |
| 95 | + "test-phpmd-macos-latest": [ |
| 96 | + "@phpmd" |
| 97 | + ], |
| 98 | + "test-phpmd-ubuntu-latest": [ |
| 99 | + "@phpmd" |
108 | 100 | ], |
109 | 101 | "test-phpmnd-macos-latest": [ |
110 | 102 | "@phpmnd" |
111 | 103 | ], |
112 | | - "test-churn-macos-latest": [ |
113 | | - "@churn" |
| 104 | + "test-phpmnd-ubuntu-latest": [ |
| 105 | + "@phpmnd" |
114 | 106 | ], |
115 | 107 | "test-phpstan-macos-latest": [ |
116 | 108 | "@phpstan" |
117 | 109 | ], |
118 | | - "test-infection-macos-latest": [ |
119 | | - "@infection" |
| 110 | + "test-phpstan-ubuntu-latest": [ |
| 111 | + "@phpstan" |
| 112 | + ], |
| 113 | + "test-phpunit-macos-latest": [ |
| 114 | + "@phpunit" |
| 115 | + ], |
| 116 | + "test-phpunit-ubuntu-latest": [ |
| 117 | + "@phpunit" |
120 | 118 | ], |
121 | 119 | "test-psalm-macos-latest": [ |
122 | 120 | "@psalm" |
| 121 | + ], |
| 122 | + "test-psalm-ubuntu-latest": [ |
| 123 | + "@psalm" |
123 | 124 | ] |
124 | 125 | } |
125 | 126 | } |
0 commit comments