-
Notifications
You must be signed in to change notification settings - Fork 18
/
composer.json
59 lines (59 loc) · 1.43 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "proget-hq/phpstan-yii2",
"type": "library",
"description": "Yii2 extension for PHPStan",
"license": "MIT",
"authors": [
{
"name": "Arkadiusz Kondas",
"email": "[email protected]"
},
{
"name": "Marcin Michalski",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2|^8.0",
"nikic/php-parser": "^4.1.0",
"phpstan/phpstan": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.1",
"phpunit/phpunit": "^8.0",
"yiisoft/yii2": "^2.0.42",
"phpstan/phpstan-phpunit": "^1.0"
},
"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 php-cs-fixer fix --dry-run --diff",
"fix-cs": "@php php-cs-fixer fix",
"stan": "@php phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
"tests": "@php phpunit"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true
}
}
}