diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 1fa8395..c2dc87b 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -81,11 +81,6 @@ jobs: coverage: pcov tools: phpunit - # Force PHPUnit 11.5 on PHP 8.2 to keep support for it - # https://phpunit.de/supported-versions.html - - if: matrix.php-version == '8.2' - run: composer require --no-update phpunit/phpunit:^11.5 - - name: "Composer: install" run: composer update --no-interaction --prefer-dist diff --git a/composer.json b/composer.json index c8ee2ca..e90db7c 100644 --- a/composer.json +++ b/composer.json @@ -32,10 +32,8 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.40", "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^12.3" + "phpunit/phpunit": "^11.5 || ^12.3" }, - "minimum-stability": "stable", - "prefer-stable": true, "autoload": { "psr-4": { "Playwright\\Device\\": "src/" @@ -47,9 +45,6 @@ } }, "config": { - "allow-plugins": { - "phpstan/extension-installer": true - }, "sort-packages": true }, "extra": {