Skip to content

Commit 6eb7698

Browse files
committed
Normalize composer.json
1 parent b643bab commit 6eb7698

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

composer.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
{
22
"name": "proget-hq/phpstan-yii2",
3-
"description": "Yii2 extension for PHPStan",
43
"type": "library",
4+
"description": "Yii2 extension for PHPStan",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Arkadiusz Kondas",
9+
"email": "arkadiusz.kondas@gmail.com"
10+
}
11+
],
512
"require": {
613
"php": "^7.1",
7-
"phpstan/phpstan": "^0.10.3",
8-
"nikic/php-parser": "^4.1.0"
14+
"nikic/php-parser": "^4.1.0",
15+
"phpstan/phpstan": "^0.10.3"
916
},
1017
"require-dev": {
11-
"phpunit/phpunit": "^7.0",
18+
"friendsofphp/php-cs-fixer": "^2.13",
1219
"phpstan/phpstan-phpunit": "^0.10",
13-
"friendsofphp/php-cs-fixer": "^2.13"
20+
"phpunit/phpunit": "^7.0"
1421
},
1522
"autoload": {
1623
"psr-4": {
@@ -22,22 +29,15 @@
2229
"Proget\\Tests\\PHPStan\\Yii2\\": "tests/"
2330
}
2431
},
25-
"license": "MIT",
26-
"authors": [
27-
{
28-
"name": "Arkadiusz Kondas",
29-
"email": "arkadiusz.kondas@gmail.com"
30-
}
31-
],
3232
"scripts": {
33-
"check-cs": "php-cs-fixer fix --dry-run --diff",
34-
"fix-cs": "php-cs-fixer fix",
35-
"tests": "phpunit",
36-
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
3733
"check": [
3834
"@check-cs",
3935
"@stan",
4036
"@tests"
41-
]
37+
],
38+
"check-cs": "php-cs-fixer fix --dry-run --diff",
39+
"fix-cs": "php-cs-fixer fix",
40+
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
41+
"tests": "phpunit"
4242
}
4343
}

0 commit comments

Comments
 (0)