From e6eccf6d844e71c787694e480a30550f3915866e Mon Sep 17 00:00:00 2001 From: Sambhav Pokharel Date: Mon, 17 Nov 2025 11:15:42 -0500 Subject: [PATCH 1/4] Update Dependencies --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" From c7858bd655206a39d604ce20d5958dbb571df134 Mon Sep 17 00:00:00 2001 From: Sambhav Pokharel Date: Mon, 17 Nov 2025 11:18:00 -0500 Subject: [PATCH 2/4] Update github workflow --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 414cddb..3eeb1bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,13 +11,13 @@ 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" + - php-version: 8.4 phing_tasks: "phpunitfast phpcs-console php-cs-fixer-dryrun phpstan-console rector-console" steps: From 0cb7fd1b96424ef0a83d07e60a8ef40a2ed0eaf2 Mon Sep 17 00:00:00 2001 From: Sambhav Pokharel Date: Mon, 17 Nov 2025 11:19:35 -0500 Subject: [PATCH 3/4] Update PHP version on workflow --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3eeb1bf..158bef0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,9 @@ jobs: - php-version: 8.2 phing_tasks: "phpunitfast" - php-version: 8.3 - phing_tasks: "phpunitfast" - - php-version: 8.4 phing_tasks: "phpunitfast phpcs-console php-cs-fixer-dryrun phpstan-console rector-console" + - php-version: 8.4 + phing_tasks: "phpunitfast" steps: - name: Setup PHP From a805c479160e8e9cb6bdb840c4912f23038d3e8f Mon Sep 17 00:00:00 2001 From: Sambhav Pokharel Date: Mon, 17 Nov 2025 13:01:12 -0500 Subject: [PATCH 4/4] Add rector rule for Phpunit and rework github workflow --- .github/workflows/ci.yaml | 4 ++-- tests/rector.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 158bef0..8b0d0ce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,9 +14,9 @@ jobs: php-version: ['8.2', '8.3', '8.4'] include: - 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" 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)