From 3e22315caa30a6efe2725ac154b9f5371e50dcdd Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 9 Dec 2022 20:27:57 +0100 Subject: [PATCH] CI: Fixed php version --- composer.lock | 32 ++++++++++++++++---------------- docker/Dockerfile | 2 +- docker/dev/Dockerfile | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/composer.lock b/composer.lock index 0ed274e6..6f268c20 100644 --- a/composer.lock +++ b/composer.lock @@ -5745,21 +5745,21 @@ }, { "name": "phpspec/prophecy", - "version": "v1.15.0", + "version": "v1.16.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be8cac52a0827776ff9ccda8c381ac5b71aeb359", + "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.2", + "php": "^7.2 || 8.0.* || 8.1.* || 8.2.*", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" @@ -5806,9 +5806,9 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.16.0" }, - "time": "2021-12-08T12:19:24+00:00" + "time": "2022-11-29T15:06:56+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -6233,16 +6233,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.11", + "version": "9.5.14", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "2406855036db1102126125537adb1406f7242fdd" + "reference": "1883687169c017d6ae37c58883ca3994cfc34189" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2406855036db1102126125537adb1406f7242fdd", - "reference": "2406855036db1102126125537adb1406f7242fdd", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1883687169c017d6ae37c58883ca3994cfc34189", + "reference": "1883687169c017d6ae37c58883ca3994cfc34189", "shasum": "" }, "require": { @@ -6293,11 +6293,11 @@ } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6320,7 +6320,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.11" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.14" }, "funding": [ { @@ -6332,7 +6332,7 @@ "type": "github" } ], - "time": "2021-12-25T07:07:57+00:00" + "time": "2022-02-18T12:54:07+00:00" }, { "name": "sebastian/cli-parser", diff --git a/docker/Dockerfile b/docker/Dockerfile index 57f96cd0..7ca2f867 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,7 +38,7 @@ COPY --from=themes /app/public/assets /app/public/assets/ RUN find /app/storage/ -type f -not -name VERSION -exec rm {} \; # Build the PHP/Nginx container -FROM php:8-fpm-alpine +FROM php:8.1-fpm-alpine WORKDIR /var/www RUN apk add --no-cache icu-dev nginx && \ docker-php-ext-install intl pdo_mysql && \ diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index ebb3ccca..fe88fa2c 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -1,5 +1,5 @@ # Engelsystem PHP FPM/Nginx development image including Xdebug -FROM php:8-fpm-alpine AS es_base +FROM php:8.1-fpm-alpine AS es_base WORKDIR /var/www RUN apk add --no-cache icu-dev $PHPIZE_DEPS && \ pecl install pcov xdebug && \