-
Notifications
You must be signed in to change notification settings - Fork 18
/
composer.json
60 lines (60 loc) · 1.63 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
{
"name": "cakephp/plugin-installer",
"description": "A composer installer for CakePHP plugins.",
"type": "composer-plugin",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://cakephp.org"
}
],
"require": {
"php": ">=8.1",
"composer-plugin-api": "^2.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"composer/composer": "^2.0",
"phpunit/phpunit": "^10.1.0 || ^11.1.3"
},
"autoload": {
"psr-4": {
"Cake\\Composer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\Test\\TestCase\\Composer\\": "tests/TestCase/"
}
},
"extra": {
"class": "Cake\\Composer\\Plugin"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"prefer-stable": true,
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
"phpstan": "tools/phpstan analyse",
"psalm": "tools/psalm --show-info=false",
"stan": [
"@phpstan",
"@psalm"
],
"stan-tests": "phpstan.phar analyze -c tests/phpstan.neon",
"stan-baseline": "phpstan.phar --generate-baseline",
"psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
"stan-setup": "phive install",
"test": "phpunit"
}
}