From: Michael Wallner Date: Tue, 20 Feb 2018 13:08:59 +0000 (+0100) Subject: make optically consistent X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=c5cdd896fa0d5a8e68599c63026611a929229c25;p=m6w6%2Fpecl-ci make optically consistent --- diff --git a/php-version-url-dist.php b/php-version-url-dist.php index f44e178..e39e7e7 100755 --- a/php-version-url-dist.php +++ b/php-version-url-dist.php @@ -1,9 +1,15 @@ #!/usr/bin/env php $r) { - printf("%s\t%s\tcurl -sS %s%s | tar xj\n", $v, $r, $mirror, $versions[$r]["source"][0]["filename"]); + printf("%s\t%s\tcurl -sS %s%s | tar xj\n", $v, $r, $mirror, + $versions[$r]["source"][0]["filename"]); } diff --git a/php-version-url-qa.php b/php-version-url-qa.php index 024c488..dfa5ca4 100755 --- a/php-version-url-qa.php +++ b/php-version-url-qa.php @@ -4,6 +4,12 @@ $versions = @json_decode(stream_get_contents(STDIN), 1); + + + + + + $by_minor = array(); # build the tree of latest versions per minor if (!empty($versions) && !isset($versions["error"]) && isset($versions["releases"])) { diff --git a/php-version.php b/php-version.php index 75173db..8fa04ac 100755 --- a/php-version.php +++ b/php-version.php @@ -33,13 +33,19 @@ if (isset($by_minor[$version])) { print("5.4.45\n"); break; case "5.5": - print("5.5.31\n"); + print("5.5.37\n"); break; case "5.6": - print("5.6.17\n"); + print("5.6.33\n"); break; case "7.0": - printf("7.0.2\n"); + print("7.0.27\n"); + break; + case "7.1": + print("7.1.14\n"); + break; + case "7.2": + print("7.2.2\n"); break; case "master": print("master\n");