-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
31 lines (31 loc) · 1000 Bytes
/
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
{
"name": "kleinweb/php-coding-standards",
"description": "PHP coding standards for Klein College of Media and Communication",
"license": "GPL-3.0-or-later",
"type": "phpcodesniffer-standard",
"keywords": ["phpcs", "static analysis"],
"require": {
"php": ">=8.1",
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"squizlabs/php_codesniffer": "^3.7.2",
"wp-coding-standards/wpcs": "^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.43",
"friendsofphp/php-cs-fixer": "^3.59"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
},
"scripts": {
"php-cs-fixer": "php-cs-fixer",
"phpcbf": "phpcbf --extensions=php --standard=$PRJ_ROOT/.phpcs.xml.dist",
"phpcs": "phpcs --extensions=php --standard=$PRJ_ROOT/.phpcs.xml.dist",
"lint": ["@phpcs"],
"fix": ["@php-cs-fixer fix", "@phpcbf"]
}
}