From 2646532d94ebd3e042d2c5d6d6ef30e20b85f809 Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 17 Sep 2025 15:40:59 -0500 Subject: [PATCH 1/4] Upgrade coding standard --- .github/workflows/ci.yml | 2 +- README.md | 2 +- composer.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05af8aa..9c0d91f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] runs-on: ${{ matrix.operating-system }} diff --git a/README.md b/README.md index cc8633d..35a44b2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ HTTP Status Codes and Exceptions ## Requirements -- **php**: ^7.3 | ^8.0 +- **php**: ^7.4 || ^8.0 ## Installing diff --git a/composer.json b/composer.json index 90c9337..3bbbd3f 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^7.3 | ^8.0" + "php": "^7.4 || ^8.0" }, "autoload": { "psr-4": { @@ -18,11 +18,11 @@ } }, "require-dev": { - "corpus/coding-standard": "^0.6.0", + "corpus/coding-standard": "^0.10.0", "friendsofphp/php-cs-fixer": "^3.4", "phpstan/phpstan": "^1.12", "phpunit/phpunit": "^9.6", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^4.0" }, "config": { "allow-plugins": { From 604b522bcb84c2b6b4ded4b018e4ae240f3919fc Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 17 Sep 2025 15:41:59 -0500 Subject: [PATCH 2/4] Upgrade phpstan --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3bbbd3f..d2891d2 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require-dev": { "corpus/coding-standard": "^0.10.0", "friendsofphp/php-cs-fixer": "^3.4", - "phpstan/phpstan": "^1.12", + "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^4.0" }, From cfd2a10b11c4ec907ce1717c97abea458dd368eb Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 17 Sep 2025 15:43:14 -0500 Subject: [PATCH 3/4] Upgrade min friendsofphp/php-cs-fixer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d2891d2..759b0c0 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ }, "require-dev": { "corpus/coding-standard": "^0.10.0", - "friendsofphp/php-cs-fixer": "^3.4", + "friendsofphp/php-cs-fixer": "^3.87", "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^4.0" From 6acfdc0416c86b9b4f79e63361ab83471b4c1bf5 Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 17 Sep 2025 15:45:29 -0500 Subject: [PATCH 4/4] Add PHP 8.5 to CI workflow matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c0d91f..5bd2548 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5] runs-on: ${{ matrix.operating-system }}