-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
33 lines (33 loc) · 1.03 KB
/
composer.json
File metadata and controls
33 lines (33 loc) · 1.03 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
{
"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": "*",
"sirbrillig/phpcs-variable-analysis": "^2.12",
"slevomat/coding-standard": "^8.16.0",
"squizlabs/php_codesniffer": "^3.7.2",
"wp-coding-standards/wpcs": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.59"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"lock": false,
"sort-packages": 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"]
}
}