Skip to content

Commit 73b4924

Browse files
committed
Composer: normalize the file
Well, mostly (scripts are not alphabetized, but still grouped by task). Note: this is done as a one-time only action. The normalize script will **_not_** be run in CI to enforce normalization. Style has been standardized to `--indent-style=tab --indent-size=1`. Ref: https://github.com/ergebnis/composer-normalize
1 parent af7ce84 commit 73b4924

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

composer.json

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
{
2-
"name": "yoast/whip",
3-
"description": "A WordPress package to nudge users to upgrade their software versions (starting with PHP)",
4-
"type": "library",
5-
"homepage": "https://github.com/Yoast/whip",
6-
"license": "GPL-3.0-or-later",
7-
"authors": [
8-
{
9-
"name": "Team Yoast",
10-
"email": "[email protected]"
11-
}
12-
],
13-
"support" : {
14-
"issues": "https://github.com/Yoast/whip/issues",
15-
"source": "https://github.com/Yoast/whip"
16-
},
17-
"autoload": {
18-
"files": [
19-
"src/facades/wordpress.php"
20-
],
21-
"classmap": [
22-
"src/"
23-
]
24-
},
25-
"autoload-dev": {
26-
"classmap": [
27-
"tests/"
28-
]
29-
},
30-
"require": {
31-
"php": ">=5.3"
32-
},
33-
"require-dev": {
34-
"phpunit/phpunit": "^4.5 || ^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
35-
"roave/security-advisories": "dev-master",
36-
"yoast/yoastcs": "^2.3.0"
37-
},
38-
"config": {
39-
"allow-plugins": {
40-
"dealerdirect/phpcodesniffer-composer-installer": true
41-
}
42-
},
43-
"minimum-stability": "dev",
44-
"prefer-stable": true,
45-
"scripts": {
46-
"lint": [
47-
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
48-
],
49-
"config-yoastcs" : [
50-
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
51-
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set default_standard Yoast"
52-
],
53-
"check-cs": [
54-
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.3-"
55-
],
56-
"fix-cs": [
57-
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
58-
],
59-
"test": [
60-
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
61-
],
62-
"coverage": [
63-
"@php ./vendor/phpunit/phpunit/phpunit"
64-
]
65-
}
2+
"name": "yoast/whip",
3+
"description": "A WordPress package to nudge users to upgrade their software versions (starting with PHP)",
4+
"license": "GPL-3.0-or-later",
5+
"type": "library",
6+
"authors": [
7+
{
8+
"name": "Team Yoast",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"homepage": "https://github.com/Yoast/whip",
13+
"support": {
14+
"issues": "https://github.com/Yoast/whip/issues",
15+
"source": "https://github.com/Yoast/whip"
16+
},
17+
"require": {
18+
"php": ">=5.3"
19+
},
20+
"require-dev": {
21+
"phpunit/phpunit": "^4.5 || ^5.7 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
22+
"roave/security-advisories": "dev-master",
23+
"yoast/yoastcs": "^2.3.0"
24+
},
25+
"minimum-stability": "dev",
26+
"prefer-stable": true,
27+
"autoload": {
28+
"classmap": [
29+
"src/"
30+
],
31+
"files": [
32+
"src/facades/wordpress.php"
33+
]
34+
},
35+
"autoload-dev": {
36+
"classmap": [
37+
"tests/"
38+
]
39+
},
40+
"config": {
41+
"allow-plugins": {
42+
"dealerdirect/phpcodesniffer-composer-installer": true
43+
}
44+
},
45+
"scripts": {
46+
"lint": [
47+
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
48+
],
49+
"config-yoastcs": [
50+
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
51+
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set default_standard Yoast"
52+
],
53+
"check-cs": [
54+
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.3-"
55+
],
56+
"fix-cs": [
57+
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
58+
],
59+
"test": [
60+
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
61+
],
62+
"coverage": [
63+
"@php ./vendor/phpunit/phpunit/phpunit"
64+
]
65+
}
6666
}

0 commit comments

Comments
 (0)