-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
65 lines (65 loc) · 1.68 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
{
"name": "cakedc/cakephp-phpstan",
"description": "CakePHP plugin extension for PHPStan.",
"type": "phpstan-extension",
"license": "MIT",
"authors": [
{
"name": "CakeDC",
"homepage": "https://www.cakedc.com",
"role": "Author"
}
],
"require": {
"php": ">=8.1.0",
"phpstan/phpstan": "^2.0",
"cakephp/cakephp": "^5.0"
},
"require-dev": {
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^10.1",
"cakephp/cakephp-codesniffer": "^5.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0"
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"autoload": {
"psr-4": {
"CakeDC\\PHPStan\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"CakeDC\\PHPStan\\Test\\": "tests/",
"CakeDC\\MyPlugin\\": "tests/test_plugin",
"App\\": "tests/test_app"
}
},
"scripts": {
"cs-check": "phpcs -p src/ tests",
"cs-fix": "phpcbf -p src/ tests",
"test": "phpunit --stderr",
"stan-integration": [
"phpstan analyse --debug -c phpstan-test-app.neon",
"phpstan analyse --debug -c phpstan-test-plugin.neon"
],
"stan": "phpstan analyse --debug",
"check": [
"@cs-check",
"@stan",
"@test",
"@stan-integration"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}