diff --git a/madeline-master.phar b/madeline-master.phar index b0f1d40..6fbb5d7 100644 Binary files a/madeline-master.phar and b/madeline-master.phar differ diff --git a/madeline.phar b/madeline.phar index b0f1d40..6fbb5d7 100644 Binary files a/madeline.phar and b/madeline.phar differ diff --git a/phar.php b/phar.php index 9bbda48..15970ee 100644 --- a/phar.php +++ b/phar.php @@ -83,11 +83,11 @@ function ___install_madeline() if ($phar) { $extractVersions = static function () { - if (!file_exists('phar://madeline.phar/vendor/composer/installed.json')) { - return array(); + if (!\file_exists('phar://madeline.phar/vendor/composer/installed.json')) { + return []; } $composer = \json_decode(\file_get_contents('phar://madeline.phar/vendor/composer/installed.json'), true); - $packages = array(); + $packages = []; foreach ($composer as $dep) { $packages[$dep['name']] = $dep['version_normalized']; } @@ -100,7 +100,7 @@ function ___install_madeline() \file_put_contents('madeline.phar.version', $release); $current = $extractVersions(); - $postData = array('downloads' => array()); + $postData = ['downloads' => []]; foreach ($current as $name => $version) { if (isset($previous[$name]) && $previous[$name] === $version) { continue; diff --git a/release b/release index 78f1f72..a582d95 100644 --- a/release +++ b/release @@ -1 +1 @@ -0003ada3ff4de9114b5a8b04f5362f549d45c8ed- \ No newline at end of file +9b7ae03d8f12a9ccf71524a129f845065d72a246- \ No newline at end of file diff --git a/release-master b/release-master index 78f1f72..a582d95 100644 --- a/release-master +++ b/release-master @@ -1 +1 @@ -0003ada3ff4de9114b5a8b04f5362f549d45c8ed- \ No newline at end of file +9b7ae03d8f12a9ccf71524a129f845065d72a246- \ No newline at end of file