drupol / drupal-conventions

Check (and fix) your code against Drupal's code conventions and coding standard.
MIT License
24 stars 1 forks source link

Fatal error: "GrumPHP\Exception\DeprecatedException: Direct configuration of parameter tasks is not allowed anymore." #7

Open Dopeyr opened 4 years ago

Dopeyr commented 4 years ago

Steps required to reproduce the problem

{
    "name": "andy/test",
    "require": {
        "drupol/drupal-conventions": "^1.7"
    },
    "authors": [
        {
            "name": "Andy Rigby",
            "email": "bob@example.com"
        }
    ],
    "extra": {
        "grumphp": {
            "config-default-path": "vendor/drupol/drupal-conventions/config/drupal8/grumphp.yml"
        }
    }
}

composer install

Expected Result

Actual Result

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?

drupol commented 4 years ago

Indeed, it needs an update for the newer version of Grumphp.

I will dedicate some time during the weekend.

Dopeyr commented 4 years ago

Thank you, that's appreciated.

drupol commented 3 years ago

Hello,

I updated the package to version 2 and it should be fixed.

Could you please let me know and/or close the issue ?