-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
68 lines (68 loc) · 2.1 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
60
61
62
63
64
65
66
67
68
{
"name": "ariddlestone/phpstan-cakephp2",
"description": "An extension to help test CakePHP 2 projects with PHPStan",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Andrew Riddlestone",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4",
"phpstan/phpstan": "^1.9"
},
"require-dev": {
"cakephp/cakephp": "^2.10.24",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.6",
"nunomaduro/phpinsights": "^2.7"
},
"autoload": {
"psr-4": {
"ARiddlestone\\PHPStanCakePHP2\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ARiddlestone\\PHPStanCakePHP2\\Test\\": "tests/"
},
"classmap": [
"tests/Feature/classes",
"vendor/cakephp/cakephp/lib/Cake/Cache",
"vendor/cakephp/cakephp/lib/Cake/Config",
"vendor/cakephp/cakephp/lib/Cake/Console/Shell.php",
"vendor/cakephp/cakephp/lib/Cake/Core",
"vendor/cakephp/cakephp/lib/Cake/Controller",
"vendor/cakephp/cakephp/lib/Cake/Event",
"vendor/cakephp/cakephp/lib/Cake/Model",
"vendor/cakephp/cakephp/lib/Cake/Utility",
"vendor/cakephp/cakephp/lib/Cake/View"
]
},
"scripts": {
"extract-phpstan": "phar extract -f vendor/phpstan/phpstan/phpstan.phar phpstan",
"phpinsights": "phpinsights analyse --no-interaction --ansi --config-path=phpinsights.php --summary src",
"phpinsights-github": "phpinsights analyse --no-interaction --ansi --config-path=phpinsights.php --format=github-action src",
"phpstan": "phpstan",
"phpunit": "phpunit",
"test": [
"@phpunit",
"@phpstan",
"@phpinsights"
]
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}