Closed elgandoz closed 5 years ago
This issue first happened to me while working on an existing project, with drupal-convention successfully working.
In a big merge with several conflicts, I opted to remove vendor/
and composer.lock
and install everything again: that's when I experienced the issue.
Later I built a vanilla drupal installation few times, with the same issue.
The class drupol\PhpConventions\Grumphp\Task\ComposerNormalize
doesn't exist indeed, and it's related with changes done in https://github.com/drupol/php-conventions/commit/6e3c7a98375c109402c4847bba57199e9b028147.
Commenting services.task.composer_normalize
in the referenced grumphp.yml allows the tasks to be performed (and apparently working, given it detects wrong indentation in the project's composer.json and any other coding standard issues)
Yes, thanks for noticing it, I just fixed it.
New tag 1.7.3 is available now.
Hi,
Have you updated to 1.7.3 ?
Steps required to reproduce the problem
composer create-project drupal-composer/drupal-project:8.x-dev testground --no-interaction
cd testground/ && composer require --dev drupol/drupal-conventions
vi composer.json
, adding extra grumphp configgit init && git add . && git commit -m "first commit"
Expected Result
Actual Result
Error on commit (x2):
The commit successfully go through, but no check performed.