Skip to content

Commit 9bb84ba

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=space --indent-size=4`. Ref: https://github.com/ergebnis/composer-normalize
1 parent 7576031 commit 9bb84ba

File tree

1 file changed

+36
-29
lines changed

1 file changed

+36
-29
lines changed

composer.json

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,59 @@
11
{
2-
"name" : "phpcsstandards/phpcsextra",
3-
"description" : "A collection of sniffs and standards for use with PHP_CodeSniffer.",
4-
"type" : "phpcodesniffer-standard",
5-
"keywords" : [ "phpcs", "phpcbf", "standards", "static analysis", "php_codesniffer", "phpcodesniffer-standard" ],
6-
"license" : "LGPL-3.0-or-later",
7-
"authors" : [
2+
"name": "phpcsstandards/phpcsextra",
3+
"description": "A collection of sniffs and standards for use with PHP_CodeSniffer.",
4+
"license": "LGPL-3.0-or-later",
5+
"type": "phpcodesniffer-standard",
6+
"keywords": [
7+
"phpcs",
8+
"phpcbf",
9+
"standards",
10+
"static analysis",
11+
"php_codesniffer",
12+
"phpcodesniffer-standard"
13+
],
14+
"authors": [
815
{
9-
"name" : "Juliette Reinders Folmer",
10-
"role" : "lead",
11-
"homepage" : "https://github.com/jrfnl"
16+
"name": "Juliette Reinders Folmer",
17+
"homepage": "https://github.com/jrfnl",
18+
"role": "lead"
1219
},
1320
{
14-
"name" : "Contributors",
15-
"homepage" : "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors"
21+
"name": "Contributors",
22+
"homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors"
1623
}
1724
],
18-
"support" : {
19-
"issues" : "https://github.com/PHPCSStandards/PHPCSExtra/issues",
20-
"source" : "https://github.com/PHPCSStandards/PHPCSExtra",
25+
"support": {
26+
"issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues",
27+
"source": "https://github.com/PHPCSStandards/PHPCSExtra",
2128
"security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy"
2229
},
23-
"require" : {
24-
"php" : ">=5.4",
25-
"squizlabs/php_codesniffer" : "^3.13.5 || ^4.0.1",
26-
"phpcsstandards/phpcsutils" : "^1.2.0"
30+
"require": {
31+
"php": ">=5.4",
32+
"phpcsstandards/phpcsutils": "^1.2.0",
33+
"squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
2734
},
28-
"require-dev" : {
29-
"php-parallel-lint/php-parallel-lint": "^1.4.0",
35+
"require-dev": {
3036
"php-parallel-lint/php-console-highlighter": "^1.0",
37+
"php-parallel-lint/php-parallel-lint": "^1.4.0",
3138
"phpcsstandards/phpcsdevcs": "^1.2.0",
3239
"phpcsstandards/phpcsdevtools": "^1.2.1",
3340
"phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
3441
},
3542
"minimum-stability": "dev",
3643
"prefer-stable": true,
44+
"config": {
45+
"allow-plugins": {
46+
"dealerdirect/phpcodesniffer-composer-installer": true
47+
},
48+
"lock": false
49+
},
3750
"extra": {
3851
"branch-alias": {
39-
"dev-stable": "1.x-dev",
40-
"dev-develop": "1.x-dev"
52+
"dev-develop": "1.x-dev",
53+
"dev-stable": "1.x-dev"
4154
}
4255
},
43-
"scripts" : {
56+
"scripts": {
4457
"lint": [
4558
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php --exclude vendor --exclude .git"
4659
],
@@ -71,11 +84,5 @@
7184
"coverage-phpcs4-local": [
7285
"@php ./vendor/phpunit/phpunit/phpunit --coverage-html ./build/coverage-html"
7386
]
74-
},
75-
"config": {
76-
"allow-plugins": {
77-
"dealerdirect/phpcodesniffer-composer-installer": true
78-
},
79-
"lock": false
8087
}
8188
}

0 commit comments

Comments
 (0)