Skip to content

Commit 793523b

Browse files
authored
Merge pull request #8 from akondas/dependencies
Move dependencies to require and normalize composer
2 parents febb03f + 6eb7698 commit 793523b

File tree

2 files changed

+940
-938
lines changed

2 files changed

+940
-938
lines changed

composer.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +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": {
6-
"php": "^7.1"
13+
"php": "^7.1",
14+
"nikic/php-parser": "^4.1.0",
15+
"phpstan/phpstan": "^0.10.3"
716
},
817
"require-dev": {
9-
"phpunit/phpunit": "^7.0",
18+
"friendsofphp/php-cs-fixer": "^2.13",
1019
"phpstan/phpstan-phpunit": "^0.10",
11-
"phpstan/phpstan": "^0.10.3",
12-
"friendsofphp/php-cs-fixer": "^2.13"
20+
"phpunit/phpunit": "^7.0"
1321
},
1422
"autoload": {
1523
"psr-4": {
@@ -21,22 +29,15 @@
2129
"Proget\\Tests\\PHPStan\\Yii2\\": "tests/"
2230
}
2331
},
24-
"license": "MIT",
25-
"authors": [
26-
{
27-
"name": "Arkadiusz Kondas",
28-
"email": "arkadiusz.kondas@gmail.com"
29-
}
30-
],
3132
"scripts": {
32-
"check-cs": "php-cs-fixer fix --dry-run --diff",
33-
"fix-cs": "php-cs-fixer fix",
34-
"tests": "phpunit",
35-
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
3633
"check": [
3734
"@check-cs",
3835
"@stan",
3936
"@tests"
40-
]
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"
4142
}
4243
}

0 commit comments

Comments
 (0)