# Add GrumpHP to an existing Drupal 8 project
composer require --dev phpro/grumphp
# Due to requirements of our hosting environment (Acquia) we have to keep "vendor" folder in git.
So when I added grumphp to a project, the only diff are the additions in the vendor folder.
Then, when I'm trying to commit this I'm getting an out of memory error.
# Your actions
# Please add the steps on how to reproduce the issue here.
# Run GrumpHP:
git add -A && git commit -m"Test"
Result:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in <project-name>/vendor/gitonomy/gitlib/src/Gitonomy/Git/Parser/DiffParser.php on line 113
My configuration
Steps to reproduce:
Result: