-
Notifications
You must be signed in to change notification settings - Fork 6
/
grumphp.yml
37 lines (37 loc) · 1.25 KB
/
grumphp.yml
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
grumphp:
stop_on_failure: true
process_timeout: 300
ascii:
failed: ~
succeeded: ~
tasks:
php_compatibility:
run_on: ['web/modules/custom', 'web/themes/custom', 'web/sites']
check_file_permissions: ~
php_check_syntax:
run_on: ['web/modules/custom', 'web/themes/custom', 'web/sites']
phpcs:
standard: ['phpcs.xml']
run_on: ['web/modules/custom', 'web/themes/custom']
php_stan:
run_on: ['web/modules/custom', 'web/themes/custom']
yaml_lint:
run_on: ['web/modules/custom', 'web/themes/custom']
json_lint:
ignore_patterns:
- '/vendor/'
- '/node_modules/'
- '/core/'
- '/libraries/'
- '/contrib/'
- '/charts/'
extensions:
- Wunderio\GrumPHP\Task\PhpCompatibility\PhpCompatibilityExtensionLoader
- Wunderio\GrumPHP\Task\PhpCheckSyntax\PhpCheckSyntaxExtensionLoader
- Wunderio\GrumPHP\Task\CheckFilePermissions\CheckFilePermissionsExtensionLoader
- Wunderio\GrumPHP\Task\Phpcs\PhpcsExtensionLoader
- Wunderio\GrumPHP\Task\PhpStan\PhpStanExtensionLoader
- Wunderio\GrumPHP\Task\YamlLint\YamlLintExtensionLoader
- Wunderio\GrumPHP\Task\JsonLint\JsonLintExtensionLoader
git_hook_variables:
EXEC_GRUMPHP_COMMAND: lando php