drupal-conventions
drupal-conventions copied to clipboard
Fatal error: "GrumPHP\Exception\DeprecatedException: Direct configuration of parameter tasks is not allowed anymore."
Steps required to reproduce the problem
{
"name": "andy/test",
"require": {
"drupol/drupal-conventions": "^1.7"
},
"authors": [
{
"name": "Andy Rigby",
"email": "[email protected]"
}
],
"extra": {
"grumphp": {
"config-default-path": "vendor/drupol/drupal-conventions/config/drupal8/grumphp.yml"
}
}
}
composer install
Expected Result
- No fatal error.
Actual Result
- Fatal error.
PHP Fatal error: Uncaught GrumPHP\Exception\DeprecatedException: Direct configuration of parameter tasks is not allowed anymore.
Please rename the `parameters` section in your grumphp.yaml file to `grumphp`.
More info: https://github.com/phpro/grumphp/releases/tag/v0.19.0
Looks like the default config under vendor/drupol/drupal-conventions/config/drupal8/grumphp.yml
will need updating, or the grumphp version fixing at an earlier release?
Indeed, it needs an update for the newer version of Grumphp.
I will dedicate some time during the weekend.
Thank you, that's appreciated.
Hello,
I updated the package to version 2 and it should be fixed.
Could you please let me know and/or close the issue ?