diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 206a16c8f5..f35ea04a77 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -42,7 +42,7 @@ jobs: - name: "Downgrade PHPUnit" if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1' - run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs" + run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 doctrine/instantiator:^1.0 --update-with-dependencies --ignore-platform-reqs" - uses: "ramsey/composer-install@v3" diff --git a/.github/workflows/phar.yml b/.github/workflows/phar.yml index 824a6b84a4..79ba443868 100644 --- a/.github/workflows/phar.yml +++ b/.github/workflows/phar.yml @@ -42,7 +42,7 @@ jobs: # only sebastian/diff ^4 supports PHP 7.4 so we need that in the PHAR - name: "Downgrade PHPUnit" - run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs" + run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 doctrine/instantiator:^1.0 --update-with-dependencies --ignore-platform-reqs" - name: "Install compiler dependencies" uses: "ramsey/composer-install@v3" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index d76ecb10e6..8351a59fd6 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -69,7 +69,7 @@ jobs: - name: "Downgrade PHPUnit" if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1' shell: bash - run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs" + run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 doctrine/instantiator:^1.0 --update-with-dependencies --ignore-platform-reqs" - uses: "ramsey/composer-install@v3" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37d6ac4d16..66123b91b7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -245,13 +245,13 @@ jobs: - name: "Downgrade PHPUnit" shell: bash - run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs" + run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 doctrine/instantiator:^1.0 --update-with-dependencies --ignore-platform-reqs" - uses: "ramsey/composer-install@v3" - name: "Downgrade PHPUnit with Paratest" shell: bash - run: "composer require --dev phpunit/phpunit:^9.6 brianium/paratest:^6.5 symfony/console:^5.4 symfony/process:^5.4 --update-with-dependencies --ignore-platform-reqs --working-dir=tests" + run: "composer require --dev phpunit/phpunit:^9.6 brianium/paratest:^6.5 symfony/console:^5.4 symfony/process:^5.4 doctrine/instantiator:^1.0 --update-with-dependencies --ignore-platform-reqs --working-dir=tests" - uses: ./.github/actions/downgrade-code with: