Skip to content

Commit 0444bbc

Browse files
committed
Update composer.json (with normalize) and update phpunit to ^9
1 parent 189dcfc commit 0444bbc

File tree

2 files changed

+556
-302
lines changed

2 files changed

+556
-302
lines changed

composer.json

Lines changed: 55 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "hyperized/xml-validator",
3+
"type": "library",
34
"description": "A simple PHP XML validator",
45
"keywords": [
56
"xml",
67
"validator"
78
],
8-
"type": "library",
9-
"minimum-stability": "stable",
109
"license": "MIT",
1110
"authors": [
1211
{
@@ -16,19 +15,20 @@
1615
],
1716
"require": {
1817
"php": ">=7.2",
19-
"ext-libxml": "^7.2",
20-
"ext-dom": "20031129"
18+
"ext-dom": "20031129",
19+
"ext-libxml": "^7.2"
2120
},
2221
"require-dev": {
2322
"ext-mbstring": "^7.2",
24-
"phpunit/phpunit": "^7 || ^8",
25-
"squizlabs/php_codesniffer": "^3.5",
26-
"povils/phpmnd": "^2.0",
2723
"bmitch/churn-php": "^1.0.3",
24+
"ergebnis/composer-normalize": "^2.3",
25+
"infection/infection": "^0.15.0",
2826
"phan/phan": "^2.4",
29-
"phpstan/phpstan": "^0.12.0",
3027
"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",
3232
"vimeo/psalm": "^3.8"
3333
},
3434
"autoload": {
@@ -41,85 +41,86 @@
4141
"Hyperized\\Xml\\Tests\\": "tests/"
4242
}
4343
},
44+
"minimum-stability": "stable",
4445
"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",
5146
"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",
5348
"infection": "vendor/bin/infection",
54-
"psalm": "vendor/bin/psalm",
49+
"infection.bat": "vendor\\bin\\infection.bat",
50+
"phan": "vendor/bin/phan --allow-polyfill-parser",
5551
"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",
5853
"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",
5959
"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",
6161
"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",
6364
"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"
8167
],
8268
"test-churn-ubuntu-latest": [
8369
"@churn"
8470
],
85-
"test-phpstan-ubuntu-latest": [
86-
"@phpstan"
71+
"test-infection-macos-latest": [
72+
"@infection"
8773
],
8874
"test-infection-ubuntu-latest": [
8975
"@infection"
9076
],
91-
"test-psalm-ubuntu-latest": [
92-
"@psalm"
93-
],
94-
"test-phpunit-macos-latest": [
95-
"@phpunit"
96-
],
9777
"test-phan-macos-latest": [
9878
"@phan"
9979
],
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"
10288
],
10389
"test-phpcs-macos-latest": [
10490
"@phpcs"
10591
],
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"
108100
],
109101
"test-phpmnd-macos-latest": [
110102
"@phpmnd"
111103
],
112-
"test-churn-macos-latest": [
113-
"@churn"
104+
"test-phpmnd-ubuntu-latest": [
105+
"@phpmnd"
114106
],
115107
"test-phpstan-macos-latest": [
116108
"@phpstan"
117109
],
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"
120118
],
121119
"test-psalm-macos-latest": [
122120
"@psalm"
121+
],
122+
"test-psalm-ubuntu-latest": [
123+
"@psalm"
123124
]
124125
}
125126
}

0 commit comments

Comments
 (0)