mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 14:08:56 +08:00
15 lines
297 B
PHP
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');
|
||
|
}
|
||
|
}
|