From f55d182bb77b273529b3898ed84182c0957d3757 Mon Sep 17 00:00:00 2001 From: MarioRadu Date: Thu, 12 Dec 2024 23:08:39 +0200 Subject: [PATCH] ignore development files on production env Signed-off-by: MarioRadu --- bin/composer-post-install-script.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/composer-post-install-script.php b/bin/composer-post-install-script.php index 1a07012..5d5b92c 100644 --- a/bin/composer-post-install-script.php +++ b/bin/composer-post-install-script.php @@ -53,4 +53,6 @@ function getEnvironment(): string echo "Using environment setting: " . getEnvironment() . PHP_EOL; +var_dump(getenv('COMPOSER_DEV_MODE')); + array_walk($files, 'copyFile');