diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 3e2d77298d..a41be748a6 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -63,15 +63,8 @@ jobs: run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install Composer dependencies - if: ${{ matrix.php < 8.2 }} uses: ramsey/composer-install@v3 - - name: Install Composer dependencies for PHP >= 8.2 - if: ${{ matrix.php >= 8.2 }} - uses: ramsey/composer-install@v3 - with: - composer-options: --ignore-platform-reqs - - name: Install Subversion run: | sudo apt-get update diff --git a/composer.json b/composer.json index f2bcbc30bb..9235d8055f 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,8 @@ "rector/rector": "^1.0.0", "szepeviktor/phpstan-wordpress": "^1.0", "tomasvotruba/type-coverage": "^1.0.0", - "yoast/wp-test-utils": "^1" + "yoast/wp-test-utils": "^1", + "doctrine/instantiator": "^1.5 || ^2.0" }, "config": { "allow-plugins": {