From 5c697b9b6efcb23428e7a1faa5450968ac724805 Mon Sep 17 00:00:00 2001 From: Toon Verwerft Date: Fri, 27 Mar 2026 14:54:41 +0100 Subject: [PATCH] feat: bump PHP 8.4 minimum, update dependencies - Require PHP ~8.4.0 || ~8.5.0 (drop 8.3) - Replace monolithic php-standard-library/php-standard-library with standalone packages (^6.1) - Bump php-soap packages to latest versions: - php-soap/cached-engine: ~0.8 - php-soap/encoding: ~0.32 - php-soap/engine: ^2.20 - php-soap/psr18-transport: ^2.0 - php-soap/wsdl-reader: ~0.32 - Remove PHP 8.3 from CI matrix --- .github/workflows/grumphp.yml | 2 +- composer.json | 22 +++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 8d6bf141..842f6c14 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-latest'] - php-versions: ['8.3', '8.4', '8.5'] + php-versions: ['8.4', '8.5'] composer-options: ['', '--prefer-lowest'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }} diff --git a/composer.json b/composer.json index ab65e3ae..7839b151 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,21 @@ } ], "require": { - "php": "~8.3.0 || ~8.4.0 || ~8.5.0", - "php-standard-library/php-standard-library": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "php": "~8.4.0 || ~8.5.0", "laminas/laminas-code": "^4.17.0", - "php-soap/cached-engine": "~0.6", - "php-soap/engine": "^2.19.0", - "php-soap/encoding": "~0.28", - "php-soap/psr18-transport": "^1.7", - "php-soap/wsdl-reader": "~0.31", + "php-soap/cached-engine": "~0.8", + "php-soap/encoding": "~0.32", + "php-soap/engine": "^2.20", + "php-soap/psr18-transport": "^2.0", + "php-soap/wsdl-reader": "~0.32", + "php-standard-library/dict": "^6.1", + "php-standard-library/foundation": "^6.1", + "php-standard-library/iter": "^6.1", + "php-standard-library/option": "^6.1", + "php-standard-library/result": "^6.1", + "php-standard-library/str": "^6.1", + "php-standard-library/type": "^6.1", + "php-standard-library/vec": "^6.1", "psr/event-dispatcher": "^1.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/console": "~5.4 || ~6.0 || ~7.0 || ~8.0", @@ -32,6 +39,7 @@ "nyholm/psr7": "^1.5", "php-http/vcr-plugin": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.4", + "php-standard-library/fun": "^6.1", "phpro/grumphp-shim": "^2.17", "phpspec/phpspec": "^8.2", "phpspec/prophecy-phpunit": "^2.0.1",