-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (49 loc) · 1.56 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
52
53
54
55
{
"name": "polygon/polygon-coding-standards",
"description": "PHP CodeSniffer rules for WordPress projects",
"keywords": [ "phpcs", "standards", "static analysis", "wordpress" ],
"license": "GPL-3.0-or-later",
"type": "phpcodesniffer-standard",
"homepage": "https://polygonthemes.com",
"support": {
"source": "https://github.com/EusebiuOprinoiu/polygon-coding-standards",
"issues": "https://github.com/EusebiuOprinoiu/polygon-coding-standards/issues"
},
"authors": [
{
"name": "Eusebiu Oprinoiu",
"homepage": "https://eusebiu.com"
}
],
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"roave/security-advisories": "*",
"wp-coding-standards/wpcs": "*",
"php": ">=7.4"
},
"scripts": {
"phpcs-install": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs-default": "third-party/bin/phpcs --config-set default_standard Polygon",
"phpcs-check": "third-party/bin/phpcs",
"phpcs-fix": "third-party/bin/phpcbf",
"phpcbf": "third-party/bin/phpcbf",
"phpcs": "third-party/bin/phpcs",
"post-install-cmd": [
"composer phpcs-install --quiet",
"composer phpcs-default --quiet"
],
"post-update-cmd": [
"composer phpcs-install --quiet",
"composer phpcs-default --quiet"
]
},
"config": {
"vendor-dir": "third-party",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
}