diff --git a/src/Composer/PostInstallStrategy.php b/src/Composer/PostInstallStrategy.php index e036f98..4fc1d07 100644 --- a/src/Composer/PostInstallStrategy.php +++ b/src/Composer/PostInstallStrategy.php @@ -17,10 +17,10 @@ use KevinGH\Box\Configuration\Configuration; use KevinGH\Box\Json\Json; -use stdClass; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\NullOutput; +use stdClass; use function dirname; use function file_exists; use function realpath; diff --git a/tests/unit/PostInstallStrategyTest.php b/tests/unit/PostInstallStrategyTest.php new file mode 100644 index 0000000..fcc32ff --- /dev/null +++ b/tests/unit/PostInstallStrategyTest.php @@ -0,0 +1,40 @@ +{$main} = false; + $config = Configuration::create($configFilePath, $raw); + + $factory = new ManifestFactory($config, true, '4.x-dev', '4.x-dev', true); + $this->strategy = new PostInstallStrategy($factory); + } +}