framework/extensions/package-manager/tests/integration/ChangeComposerConfig.php
2021-11-24 18:25:43 +01:00

15 lines
297 B
PHP

<?php
namespace Flarum\PackageManager\Tests\integration;
trait ChangeComposerConfig
{
protected function setComposerConfig(array $requirements): void
{
$composerSetup = new SetupComposer($requirements);
$composerSetup->run();
$this->composer('install');
}
}