-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaptainhook.json.phpcs-sample
More file actions
33 lines (33 loc) · 1016 Bytes
/
captainhook.json.phpcs-sample
File metadata and controls
33 lines (33 loc) · 1016 Bytes
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
{
"config": {
"allow-failure": false,
"bootstrap": "examples/vendor-bin-autoloader.php",
"ansi-colors": true,
"git-directory": ".git",
"fail-on-first-error": false,
"verbosity": "normal",
"plugins": [
{
"plugin": "\\Bartlett\\CaptainHookBinPlugin\\BinPlugin",
"options": {
"binary-directory": "{$ENV|value-of:VENDOR_BIN_DIR|default:./tools}",
"dependency-manager": "phive"
}
}
]
},
"pre-commit": {
"enabled": true,
"actions": [
{
"action": "{$ENV|value-of:XDG_BIN_HOME}phpcs --standard=.github/linters/.phpcs.xml.dist --warning-severity=0 --colors",
"options": {
"package-require": [
"squizlabs/php_codesniffer",
"^3.3 || ^4.0"
]
}
}
]
}
}