Skip to content

Commit 3aa852d

Browse files
committed
chore: Normalize composer.json
1 parent 603fe2f commit 3aa852d

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

composer.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "plook/type-guard",
3-
"type": "library",
43
"description": "Library to ensure correctness of types with a readable interface.",
54
"license": "LGPL-2.1-or-later",
5+
"type": "library",
66
"authors": [
77
{
88
"name": "Phillip Look",
@@ -15,14 +15,15 @@
1515
"require-dev": {
1616
"brainbits/phpcs-standard": "^8.0.0",
1717
"brainbits/phpstan-rules": "^4.0.0",
18+
"ergebnis/composer-normalize": "^2.47",
1819
"ergebnis/phpstan-rules": "^2.8.0",
19-
"thecodingmachine/phpstan-safe-rule": "^1.4.0",
20+
"phpstan/phpstan": "^2.1.16",
2021
"phpstan/phpstan-phpunit": "^2.0.6",
21-
"squizlabs/php_codesniffer": "^3.12.2",
22-
"phpstan/phpstan": "^2.1.14",
2322
"phpstan/phpstan-strict-rules": "^2.0.4",
24-
"phpunit/phpunit": "^12.1.4",
25-
"rector/rector": "^2.0.15"
23+
"phpunit/phpunit": "^12.1.5",
24+
"rector/rector": "^2.0.16",
25+
"squizlabs/php_codesniffer": "^3.13.0",
26+
"thecodingmachine/phpstan-safe-rule": "^1.4.0"
2627
},
2728
"autoload": {
2829
"psr-4": {
@@ -39,25 +40,26 @@
3940
},
4041
"config": {
4142
"allow-plugins": {
42-
"dealerdirect/phpcodesniffer-composer-installer": true
43+
"dealerdirect/phpcodesniffer-composer-installer": true,
44+
"ergebnis/composer-normalize": true
4345
}
4446
},
4547
"scripts": {
46-
"test": "phpunit",
47-
"cs": "vendor/bin/phpcs",
48-
"cs:fix": "vendor/bin/phpcbf",
4948
"analyse": "vendor/bin/phpstan analyze",
50-
"rector": "vendor/bin/rector --dry-run",
51-
"rector:fix": "vendor/bin/rector",
5249
"check": [
5350
"@cs",
5451
"@analyse",
5552
"@test",
5653
"@rector"
5754
],
55+
"cs": "vendor/bin/phpcs",
56+
"cs:fix": "vendor/bin/phpcbf",
5857
"fix": [
5958
"@rector:fix",
6059
"@cs:fix"
61-
]
60+
],
61+
"rector": "vendor/bin/rector --dry-run",
62+
"rector:fix": "vendor/bin/rector",
63+
"test": "phpunit"
6264
}
6365
}

0 commit comments

Comments
 (0)