From 53048f5f10069861bc30876de1138975dfa7db1e Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Wed, 23 Dec 2020 12:50:16 +0100 Subject: [PATCH] Run all tests on PHP 8 --- .github/workflows/continuous-integration.yml | 14 -------------- composer.json | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index cf266aa9d..f4d806979 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,11 +37,6 @@ jobs: php-version: "7.1" symfony-deprecations-helper: "weak" - # Test against latest Symfony 4.3 stable - - symfony-require: "4.3.*" - php-version: "7.3" - deps: "normal" - # Test against latest Symfony 4.4 dev - symfony-require: "4.4.*" php-version: "7.3" @@ -90,19 +85,10 @@ jobs: - name: "Globally install symfony/flex" run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex" - # to be removed when our dependencies support PHP 8 - - name: "Pretend this is PHP 7.4" - run: "composer config platform.php 7.4.99" - if: "${{ matrix.php-version == '8.0' }}" - - name: "Require symfony/messenger" run: "composer require --dev symfony/messenger --no-update" if: "${{ startsWith(matrix.symfony-require, '4.') }}" - - name: "Remove doctrine/orm" - run: "composer remove --dev doctrine/orm --no-update" - if: "${{ matrix.php-version == '8.0' }}" - - name: "Install stable dependencies with composer" run: "composer update --no-interaction --prefer-dist --prefer-stable" if: "${{ matrix.deps == 'normal' }}" diff --git a/composer.json b/composer.json index 8f532035e..31cf84f21 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "require-dev": { "doctrine/coding-standard": "^8.0", "doctrine/orm": "^2.6", - "ocramius/proxy-manager": "^2.1", + "friendsofphp/proxy-manager-lts": "^1.0", "phpunit/phpunit": "^7.5 || ^8.0 || ^9.3", "symfony/phpunit-bridge": "^4.2", "symfony/property-info": "^4.3.3|^5.0",