From f18321cfbe2eefe4c36b80339586a7fe9d173040 Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:06:25 +0100 Subject: [PATCH 1/6] refactor: Update .gitignore to include .DS_Store and coverage-report folder --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fe56c28..c1b4c8d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ vendor .phpunit.cache php_errors.log -composer.lock \ No newline at end of file +composer.lock +.DS_Store +coverage-report From d64532532de6b18164833ed201ec7e6bcf33bf5e Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:07:03 +0100 Subject: [PATCH 2/6] refactor: Add `coverage` script to composer.json for creating html coverage reports --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 14a2d09..bb700a6 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,7 @@ "lkrms/pretty-php": "^0.4.72" }, "scripts": { + "coverage": "XDEBUG_MODE=coverage composer test -- --coverage-html coverage-report", "test": "phpunit", "static-analyse": "phpstan analyse --configuration phpstan.neon.dist", "pretty-php": "pretty-php src tests" From 726eff84e210b58a752d5e49662f6c3f8846e622 Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:07:13 +0100 Subject: [PATCH 3/6] refactor: Update PHP version in Codecov workflow to 8.2 --- .github/workflows/codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index aee6be9..8a84a4e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -8,10 +8,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up php 8.1 + - name: Set up php 8.2 uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' - name: Install dependencies run: composer self-update && composer install && composer dump-autoload From 92aef01b68dd3d48cc86b4ef150d5bad25ccda75 Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:07:26 +0100 Subject: [PATCH 4/6] refactor: Update PHP version in PHPStan workflow to 8.2 --- .github/workflows/phpstan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 54dbcff..9121aaf 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - php-versions: ["8.1"] + php-versions: ["8.2"] steps: - name: Checkout Code @@ -24,4 +24,4 @@ jobs: run: composer update --no-progress --prefer-dist --optimize-autoloader - name: Run Tests - run: composer run-script static-analyse \ No newline at end of file + run: composer run-script static-analyse From ea9c35309129e9e528ce07bcb8d992703db0aeb5 Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:08:03 +0100 Subject: [PATCH 5/6] refactor: Update PHP version matrix in test workflow to include 8.5 and remove 8.1 version --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5314ef..3ca80a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - php-versions: ["8.1", "8.2", "8.3", "8.4"] + php-versions: ["8.2", "8.3", "8.4", "8.5"] steps: - name: Checkout Code @@ -24,4 +24,4 @@ jobs: run: composer update --no-progress --prefer-dist --optimize-autoloader - name: Run Tests - run: composer run-script test \ No newline at end of file + run: composer run-script test From ba7831f59031eed99a5b97004d7bd812abe38aa4 Mon Sep 17 00:00:00 2001 From: Salvatore Date: Sun, 14 Dec 2025 18:15:07 +0100 Subject: [PATCH 6/6] refactor: Bump minimum PHP version requirement to 8.2 in composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bb700a6..651e3b7 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "phpunit/phpunit": "^10",