From cd277f5f4de2293fbb736b3ffbb742f48b6ce687 Mon Sep 17 00:00:00 2001 From: Vadim Pintia Date: Wed, 2 Dec 2020 17:06:11 +0200 Subject: [PATCH] Add php8 compatibility to composer.json --- .docker/php7.3-dev/Dockerfile | 2 -- composer.json | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.docker/php7.3-dev/Dockerfile b/.docker/php7.3-dev/Dockerfile index fcc639c..3d5e25d 100644 --- a/.docker/php7.3-dev/Dockerfile +++ b/.docker/php7.3-dev/Dockerfile @@ -10,8 +10,6 @@ ENV COMPOSER_CACHE_DIR /.composer_cache RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN composer -vvv global require hirak/prestissimo - # php extensions RUN pecl install xdebug diff --git a/composer.json b/composer.json index c517d73..48d7527 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "Micro module Base common library", "license": "proprietary", "require": { - "php": "^7.3", + "php": "^7.3 || ^8.0", "ext-json": "*", "beberlei/assert": "^3.2", "psr/log": "^1.1", @@ -19,10 +19,10 @@ "phpstan/phpstan": "^0.12", "phpstan/phpstan-mockery": "^0.12", "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^9.0", + "phpunit/phpunit": "^9.4", "roave/security-advisories": "dev-master", "symplify/easy-coding-standard": "^7.2", - "vimeo/psalm": "3.5.0" + "vimeo/psalm": "^4.2" }, "config": { "preferred-install": {