From 8a302027ee9690559fcb227c5556b3cbc86275ed Mon Sep 17 00:00:00 2001 From: 22Alexandra Date: Thu, 8 Dec 2022 14:07:48 +0200 Subject: [PATCH] EWPP-2864: Update to PHP8.1. --- .drone.yml | 2 +- composer.json | 11 +++++------ docker-compose.yml | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index c0cf9d8..0c067bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -58,8 +58,8 @@ pipeline: matrix: PHP_VERSION: - - 7.4 - 8.0 + - 8.1 COMPOSER_BOUNDARY: - lowest - highest diff --git a/composer.json b/composer.json index 9bb1da1..37647df 100644 --- a/composer.json +++ b/composer.json @@ -7,17 +7,16 @@ "minimum-stability": "alpha", "prefer-stable": true, "require": { - "php": ">=7.4", - "consolidation/annotated-command": "^4.3 <4.5.7", - "consolidation/robo": "^3.0", + "php": ">=8.0", + "consolidation/robo": "^4.0", "gitonomy/gitlib": "^1.0", "jakeasmith/http_build_url": "^1.0.1", - "nuvoleweb/robo-config": "^2.0" + "nuvoleweb/robo-config": "^3.0.0" }, "require-dev": { - "openeuropa/code-review": "^2.0", + "openeuropa/code-review": "dev-EWPP-2858", "phpunit/phpunit": "^9.4", - "slevomat/coding-standard": "~6.0" + "slevomat/coding-standard": "^7.0 || ^8.0" }, "autoload": { "psr-4": { diff --git a/docker-compose.yml b/docker-compose.yml index 5157722..674c530 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '2' services: web: - image: fpfis/httpd-php-dev:8.0 + image: fpfis/httpd-php-dev:8.1 working_dir: /var/www/html ports: - 8080:8080