Updates GrumPHP for Required Features

- Bumps Composer package PHP version to 7.3.
- Updates GrumPHP configuration to new format.
isekai
Tim Nolte 4 years ago
parent 964ce75b03
commit ecaa06bac2
No known key found for this signature in database
GPG Key ID: 33E7CA1AD448F3B3

@ -25,7 +25,7 @@
},
"config": {
"platform": {
"php": "7.1"
"php": "7.3"
},
"optimize-autoloader": true
},
@ -57,7 +57,7 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.6",
"brain/monkey": "^2.4",
"mockery/mockery": "^1.3",
"phpro/grumphp": "^0.16.2",
"phpro/grumphp": "^0.21",
"sensiolabs/security-checker": "^5.0",
"phpstan/phpstan-deprecation-rules": "^0.12.4"
},

1546
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -1,9 +1,6 @@
# grumphp.yml
parameters:
git_dir: .
bin-dir:
- 'node_modules/.bin'
- 'vendor/bin'
grumphp:
hide_circumvention_tip: true
stop_on_failure: true
process_timeout: 120
parallel:
@ -12,6 +9,11 @@ parameters:
fixer:
enabled: false
fix_by_default: false
environment:
variables:
GRUMPHP_BIN_DIR: 'vendor/bin'
paths:
- 'node_modules/.bin'
tasks:
git_blacklist:
keywords:
@ -26,18 +28,25 @@ parameters:
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: true
grunt:
task: checktextdomain
enforce_no_subject_punctuations: true
enforce_no_subject_trailing_period: true
npm_script:
script: 'i18n:check'
is_run_task: true
triggered_by: [php]
metadata:
label: 'i18n Check'
phpcs:
standard: './phpcs.xml.dist'
report: 'summary'
ignore_patterns:
- '/^assets\/(.*)/'
triggered_by: [php]
phpstan:
configuration: './phpstan.neon.dist'
level: 5
ignore_patterns:
- '/^assets\/(.*)/'
memory_limit: '-1'
triggered_by: [php]
securitychecker: ~

Loading…
Cancel
Save