From: Michael Wallner Date: Thu, 3 Sep 2015 14:10:19 +0000 (+0200) Subject: fix metadata X-Git-Tag: v4.1.0~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=86f66110e3636b36306e445032e277e4c918aa87;p=pharext%2Fpharext fix metadata --- diff --git a/bin/pharext b/bin/pharext index f5ca749..9053bad 100755 Binary files a/bin/pharext and b/bin/pharext differ diff --git a/bin/pharext.update b/bin/pharext.update index 02d2969..bf1541b 100755 Binary files a/bin/pharext.update and b/bin/pharext.update differ diff --git a/src/pharext/Updater.php b/src/pharext/Updater.php index f7972a1..e3a8b51 100644 --- a/src/pharext/Updater.php +++ b/src/pharext/Updater.php @@ -121,7 +121,7 @@ class Updater implements Command $phar->setMetadata([ "version" => Metadata::version(), "header" => Metadata::header(), - ] + $phar->getMetadata()); + ] + (array) $phar->getMetadata()); $this->info("Updated pharext version from '%s' to '%s'\n", isset($meta["version"]) ? $meta["version"] : "(unknown)",