Skip to content

Commit 66f9584

Browse files
localheinzondrejmirtes
authored andcommitted
Enhancement: Normalize composer.json
1 parent da5e9d1 commit 66f9584

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

composer.json

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
{
22
"name": "phpstan/phpstan-strict-rules",
3-
"description": "Extra strict and opinionated rules for PHPStan",
43
"type": "phpstan-extension",
5-
"license": ["MIT"],
6-
"minimum-stability": "dev",
7-
"prefer-stable": true,
8-
"extra": {
9-
"branch-alias": {
10-
"dev-master": "0.12-dev"
11-
},
12-
"phpstan": {
13-
"includes": [
14-
"rules.neon"
15-
]
16-
}
17-
},
4+
"description": "Extra strict and opinionated rules for PHPStan",
5+
"license": [
6+
"MIT"
7+
],
188
"require": {
199
"php": "~7.1",
2010
"nikic/php-parser": "^4.0",
@@ -29,19 +19,33 @@
2919
"phpunit/phpunit": "^7.0",
3020
"slevomat/coding-standard": "^4.5.2"
3121
},
22+
"config": {
23+
"sort-packages": true
24+
},
25+
"extra": {
26+
"branch-alias": {
27+
"dev-master": "0.12-dev"
28+
},
29+
"phpstan": {
30+
"includes": [
31+
"rules.neon"
32+
]
33+
}
34+
},
3235
"autoload": {
3336
"psr-4": {
3437
"PHPStan\\": "src/"
3538
}
3639
},
3740
"autoload-dev": {
38-
"classmap": ["tests/"],
41+
"classmap": [
42+
"tests/"
43+
],
3944
"files": [
4045
"tests/Rules/Functions/data/missing-function-parameter-typehint.php",
4146
"tests/Rules/Functions/data/missing-function-return-typehint.php"
4247
]
4348
},
44-
"config": {
45-
"sort-packages": true
46-
}
49+
"minimum-stability": "dev",
50+
"prefer-stable": true
4751
}

0 commit comments

Comments
 (0)