Composer > support/require PHP 7.2+ (instead of 5.6+)

This commit is contained in:
Meritoo
2019-04-01 22:59:04 +02:00
parent 5022efb9a3
commit 90bc438cae
4 changed files with 9 additions and 5 deletions

View File

@@ -2,6 +2,10 @@
Common and useful classes, methods, exceptions etc. Common and useful classes, methods, exceptions etc.
# 1.0.0
1. Composer > support/require PHP 7.2+ (instead of 5.6+)
# 0.1.8 # 0.1.8
1. Size, e.g. of image 1. Size, e.g. of image

View File

@@ -1 +1 @@
0.1.8 1.0.0

View File

@@ -14,7 +14,7 @@
"ext-fileinfo": "*", "ext-fileinfo": "*",
"ext-json": "*", "ext-json": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"php": ">=5.6", "php": ">=7.2",
"ext-intl": "*", "ext-intl": "*",
"ext-pcre": "*", "ext-pcre": "*",
"doctrine/orm": "^2.5", "doctrine/orm": "^2.5",

View File

@@ -1,4 +1,4 @@
FROM php:5.6-cli FROM php:7.2-cli
MAINTAINER Meritoo <github@meritoo.pl> MAINTAINER Meritoo <github@meritoo.pl>
# #
@@ -58,7 +58,7 @@ RUN docker-php-ext-install \
# - Xdebug # - Xdebug
# #
RUN pecl install \ RUN pecl install \
xdebug-2.5.5 \ xdebug \
&& docker-php-ext-enable \ && docker-php-ext-enable \
xdebug xdebug
@@ -98,7 +98,7 @@ ENV COMPOSER_ALLOW_SUPERUSER 1
# #
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php -r "if (hash_file('SHA384', 'composer-setup.php') === \ && php -r "if (hash_file('SHA384', 'composer-setup.php') === \
'93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo \ '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo \
'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \ && php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
&& php -r "unlink('composer-setup.php');" \ && php -r "unlink('composer-setup.php');" \