diff --git a/.gitignore b/.gitignore index 78f3fca..c3fab98 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ /bin/ /composer.lock /Configuration/bundles.yml +/Configuration/parameters.yml /Configuration/routing_modules.yml /nbproject /var/ diff --git a/Tests/Integration/Composer/ScriptsTest.php b/Tests/Integration/Composer/ScriptsTest.php index 2daef3f..335755e 100644 --- a/Tests/Integration/Composer/ScriptsTest.php +++ b/Tests/Integration/Composer/ScriptsTest.php @@ -165,4 +165,12 @@ public function moduleRoutesConfigurationFileContainsModuleRoutes(string $routeS self::assertContains($routeSearchString, $fileContents); } + + /** + * @test + */ + public function parametersConfigurationFileExists() + { + self::assertFileExists(dirname(__DIR__, 3) . '/Configuration/parameters.yml'); + } } diff --git a/composer.json b/composer.json index 75f6cc7..1e2c9a3 100644 --- a/composer.json +++ b/composer.json @@ -59,6 +59,7 @@ "update-configuration": [ "PhpList\\PhpList4\\Composer\\ScriptHandler::createBundleConfiguration", "PhpList\\PhpList4\\Composer\\ScriptHandler::createRoutesConfiguration", + "PhpList\\PhpList4\\Composer\\ScriptHandler::createParametersConfiguration", "PhpList\\PhpList4\\Composer\\ScriptHandler::clearAllCaches" ], "post-install-cmd": [