Skip to content

Commit 222e87d

Browse files
committed
Composer: sort of "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 9a38a4f commit 222e87d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "squizlabs/php_codesniffer",
33
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
4+
"license": "BSD-3-Clause",
45
"type": "library",
56
"keywords": [
67
"phpcs",
78
"standards",
89
"static analysis"
910
],
10-
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
11-
"license": "BSD-3-Clause",
1211
"authors": [
1312
{
1413
"name": "Greg Sherwood",
@@ -19,34 +18,35 @@
1918
"role": "Current lead"
2019
},
2120
{
22-
"name" : "Contributors",
23-
"homepage" : "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
21+
"name": "Contributors",
22+
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
2423
}
2524
],
25+
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
2626
"support": {
2727
"issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
2828
"wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki",
2929
"source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
3030
"security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy"
3131
},
32-
"extra": {
33-
"branch-alias": {
34-
"dev-master": "3.x-dev"
35-
}
36-
},
3732
"require": {
3833
"php": ">=5.4.0",
34+
"ext-simplexml": "*",
3935
"ext-tokenizer": "*",
40-
"ext-xmlwriter": "*",
41-
"ext-simplexml": "*"
36+
"ext-xmlwriter": "*"
4237
},
4338
"require-dev": {
4439
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
4540
},
4641
"bin": [
47-
"bin/phpcs",
48-
"bin/phpcbf"
42+
"bin/phpcbf",
43+
"bin/phpcs"
4944
],
45+
"extra": {
46+
"branch-alias": {
47+
"dev-master": "3.x-dev"
48+
}
49+
},
5050
"scripts": {
5151
"cs": [
5252
"@php ./bin/phpcs"

0 commit comments

Comments
 (0)