-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathcomposer.json
More file actions
55 lines (55 loc) · 1.76 KB
/
composer.json
File metadata and controls
55 lines (55 loc) · 1.76 KB
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
{
"name": "cakephp/cakephp-codesniffer",
"description": "CakePHP CodeSniffer Standards",
"type": "phpcodesniffer-standard",
"keywords": ["framework", "codesniffer"],
"homepage": "https://cakephp.org",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/cakephp-codesniffer/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/cakephp/cakephp-codesniffer/issues",
"forum": "https://stackoverflow.com/tags/cakephp",
"irc": "irc://irc.freenode.org/cakephp",
"source": "https://github.com/cakephp/cakephp-codesniffer"
},
"require": {
"php": ">=8.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.1.2",
"phpstan/phpdoc-parser": "^2.1",
"slevomat/coding-standard": "^8.23",
"squizlabs/php_codesniffer": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5.32 || ^11.3.3"
},
"autoload": {
"psr-4": {
"CakePHP\\": "CakePHP/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"add-standard" : "phpcs --config-set installed_paths $(pwd)",
"phpunit": "phpunit",
"test": [
"@add-standard",
"@phpunit"
],
"cs-check": "phpcs --colors --parallel=16 -p -s CakePHP/",
"cs-fix": "phpcbf --colors --parallel=16 -p CakePHP/",
"stan": "tools/phpstan analyse",
"stan-baseline": "tools/phpstan --generate-baseline",
"stan-setup": "phive install",
"docs": "php docs/generate.php",
"explain": "phpcs -e --standard=CakePHP"
}
}