From 5b84dc88a751b69b74288c45602f46a61017993a Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Wed, 22 Jun 2016 14:29:47 +0000 Subject: [PATCH] added ability to have multiple defines --- src/Plugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Plugin.php b/src/Plugin.php index 9f966a4..84c69f3 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -156,7 +156,9 @@ public function processPackage(PackageInterface $package) ); if (isset($files['defines'])) { - $this->readConfigFile($package, $files['defines']); + foreach ((array) $files['defines'] as $file) { + $this->readConfigFile($package, $file); + } unset($files['defines']); }