Release master - Cleanup external API

This commit is contained in:
Travis CI User 2020-01-19 12:52:36 +00:00
parent 9ed0cb10fa
commit 2084f79bfd
5 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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;

View File

@ -1 +1 @@
0003ada3ff4de9114b5a8b04f5362f549d45c8ed-
9b7ae03d8f12a9ccf71524a129f845065d72a246-

View File

@ -1 +1 @@
0003ada3ff4de9114b5a8b04f5362f549d45c8ed-
9b7ae03d8f12a9ccf71524a129f845065d72a246-