Browse Source

Add Composer v2 compatibility

Eric BELLOT 3 years ago
parent
commit
a31b52334b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/BaseBuilderCommand.php

+ 2 - 0
src/BaseBuilderCommand.php

@@ -4,6 +4,8 @@ declare(strict_types=1);
 
 namespace Fgm\Drupal\Composer;
 
+require_once __DIR__.'/../../../../vendor/autoload.php';
+
 use Composer\Command\BaseCommand;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;