Commit 2a028465 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

php8 fix

parent fb82451c
......@@ -58,8 +58,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -58,8 +58,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -56,8 +56,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -56,8 +56,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -57,8 +57,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -57,8 +57,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
hash \
curl \
simplexml \
......
......@@ -59,8 +59,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
curl \
simplexml \
soap \
......
......@@ -59,8 +59,8 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
json \
mbstring \
curl \
simplexml \
soap \
......
......@@ -59,8 +59,7 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
mbstring \
curl \
simplexml \
soap \
......
......@@ -59,8 +59,7 @@ RUN set -xe \
xml \
xsl \
intl \
json \
mbstring \
mbstring \
curl \
simplexml \
soap \
......
......@@ -119,7 +119,8 @@ class BuildCommand extends Command
}
private function createFile($version, $versionData, $template, $type, $distDir, $isXdebug = false) {
$isPHP74 = Comparator::greaterThan($versionData['tags'][0], '7.3.99') ? true : false;
$isPHP80 = Comparator::greaterThan($versionData['tags'][0], '7.4.99') ? true : false;
$isPHP74 = Comparator::greaterThan($versionData['tags'][0], '7.3.99') && Comparator::lessThan($versionData['tags'][0], '8.0.0') ? true : false;
$isPHP73 = Comparator::greaterThan($versionData['tags'][0], '7.2.99') && Comparator::lessThan($versionData['tags'][0], '7.4.0') ? true : false;
$isPHP72 = Comparator::greaterThan($versionData['tags'][0], '7.1.99') && Comparator::lessThan($versionData['tags'][0], '7.3.0') ? true : false;
$isPHP56 = Comparator::lessThan($versionData['tags'][0], '5.7.99') ? true : false;
......@@ -142,6 +143,7 @@ class BuildCommand extends Command
'isPHP72' => $isPHP72,
'isPHP73' => $isPHP73,
'isPHP74' => $isPHP74,
'isPHP80' => $isPHP80,
'docker_image' => $versionData['image'],
'xdebug_version' => $xdebugVersion,
'version' => $version,
......
......@@ -72,7 +72,9 @@ RUN set -xe \
xml \
xsl \
intl \
{% if not isPHP80 %}
json \
{% endif %}
mbstring \
{% if not isPHP74 %}{# hash is in core now #}
hash \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment