-
Notifications
You must be signed in to change notification settings - Fork 84
/
composer.json
51 lines (51 loc) · 1.72 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
{
"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.0",
"phpstan/phpdoc-parser": "^1.4.5",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.9"
},
"require-dev": {
"phpunit/phpunit": "^9.3.4"
},
"autoload": {
"psr-4": {
"CakePHP\\": "CakePHP/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"add-standard" : "phpcs --config-set installed_paths $(pwd)",
"phpunit": "phpunit vendor/squizlabs/php_codesniffer/tests/AllTests.php --filter CakePHP --no-configuration --bootstrap=vendor/squizlabs/php_codesniffer/tests/bootstrap.php --dont-report-useless-tests",
"test": [
"@add-standard",
"@phpunit"
],
"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"
}
}