From 932c311e27c9a79d3922b03b73761cfbab115354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 16 Jun 2024 19:15:52 +0200 Subject: [PATCH] refactor: Move the init file template to the `res` directory --- {src => res}/scoper.inc.php.tpl | 0 src/Console/Command/InitCommand.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src => res}/scoper.inc.php.tpl (100%) diff --git a/src/scoper.inc.php.tpl b/res/scoper.inc.php.tpl similarity index 100% rename from src/scoper.inc.php.tpl rename to res/scoper.inc.php.tpl diff --git a/src/Console/Command/InitCommand.php b/src/Console/Command/InitCommand.php index 63abda68..07b77e8b 100644 --- a/src/Console/Command/InitCommand.php +++ b/src/Console/Command/InitCommand.php @@ -33,7 +33,7 @@ final readonly class InitCommand implements Command { private const CONFIG_FILE_OPT = 'config'; - private const CONFIG_FILE_TEMPLATE = __DIR__.'/../../scoper.inc.php.tpl'; + private const CONFIG_FILE_TEMPLATE = __DIR__.'/../../../res/scoper.inc.php.tpl'; private const CONFIG_FILE_DEFAULT = 'scoper.inc.php'; public function __construct(