/
composer.json
49 lines (49 loc) · 1.49 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
{
"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": ">=7.2.0",
"slevomat/coding-standard": "^7.0 || ^8.0",
"squizlabs/php_codesniffer": "^3.6"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
},
"autoload": {
"psr-4": {
"CakePHP\\": "CakePHP/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"add-standard" : "phpcs --config-set installed_paths $(pwd)",
"test": [
"@add-standard",
"phpunit --filter CakePHP"
],
"cs-check": "phpcs --colors --parallel=16 -p -s CakePHP/",
"cs-fix": "phpcbf --colors --parallel=16 -p CakePHP/",
"docs": "php docs/generate.php",
"explain": "phpcs -e --standard=CakePHP"
}
}