forked from proget-hq/phpstan-yii2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 1.08 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "proget-hq/phpstan-yii2",
"type": "library",
"description": "Yii2 extension for PHPStan",
"license": "MIT",
"authors": [
{
"name": "Arkadiusz Kondas",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2",
"nikic/php-parser": "^4.1.0",
"phpstan/phpstan": "^0.11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.13",
"phpunit/phpunit": "^8.0",
"yiisoft/yii2": "^2.0.15",
"phpstan/phpstan-phpunit": "^0.11"
},
"autoload": {
"psr-4": {
"Proget\\PHPStan\\Yii2\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Proget\\Tests\\PHPStan\\Yii2\\": "tests/"
}
},
"scripts": {
"check": [
"@check-cs",
"@stan",
"@tests"
],
"check-cs": "php-cs-fixer fix --dry-run --diff",
"fix-cs": "php-cs-fixer fix",
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
"tests": "phpunit"
}
}