diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 414cddb..8b0d0ce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,14 +11,14 @@ jobs: VUFIND_LOCAL_DIR: $GITHUB_WORKSPACE/local strategy: matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3', '8.4'] include: - - php-version: 8.1 - phing_tasks: "phpunitfast" - php-version: 8.2 - phing_tasks: "phpunitfast" - - php-version: 8.3 phing_tasks: "phpunitfast phpcs-console php-cs-fixer-dryrun phpstan-console rector-console" + - php-version: 8.3 + phing_tasks: "phpunitfast" + - php-version: 8.4 + phing_tasks: "phpunitfast" steps: - name: Setup PHP diff --git a/composer.json b/composer.json index 740644a..21432ef 100644 --- a/composer.json +++ b/composer.json @@ -19,18 +19,18 @@ }, "config": { "platform": { - "php": "8.1" + "php": "8.2" } }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "3.89.2", "guzzlehttp/guzzle": "^7.8.1", "phpmd/phpmd": "2.15.0", "phpstan/phpstan": "2.1.32", - "phpunit/phpunit": "10.5.36", + "phpunit/phpunit": "11.5.43", "phing/phing": "3.1.0", "rector/rector": "2.2.7", "squizlabs/php_codesniffer": "4.0.1" diff --git a/tests/rector.php b/tests/rector.php index e51d604..20798f7 100644 --- a/tests/rector.php +++ b/tests/rector.php @@ -15,6 +15,7 @@ ]) ->withSets([ PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES, + PHPUnitSetList::PHPUNIT_110, ]) ->withTypeCoverageLevel(0) ->withDeadCodeLevel(6)