From 633a111f97f04ea71e37900bd23ce9fab74a5886 Mon Sep 17 00:00:00 2001 From: klapaudius Date: Mon, 5 Jan 2026 10:41:30 +0100 Subject: [PATCH 1/5] Php 8.5 compliant Refactor __doRequest method parameters and types --- MTOMSoapClient.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MTOMSoapClient.php b/MTOMSoapClient.php index c38b827..2b3ae0a 100644 --- a/MTOMSoapClient.php +++ b/MTOMSoapClient.php @@ -103,13 +103,14 @@ protected function process(?string $response): ?string * @param string $location * @param string $action * @param int $version - * @param int $one_way + * @param bool $one_way + * @param string|null $uriParserClass * @return string|null * @throws Exception */ - public function __doRequest($request, $location, $action, $version, $one_way = 0): ?string + public function __doRequest(string $request, string $location, string $action, int $version, bool $one_way = false, ?string $uriParserClass = null): ?string { - $response = parent::__doRequest($request, $location, $action, $version, $one_way); + $response = parent::__doRequest($request, $location, $action, $version, $one_way, $uriParserClass); return $this->process($response); } From 4e06efe9e84de83d3b70d6d8470865d1db3208a1 Mon Sep 17 00:00:00 2001 From: klapaudius Date: Mon, 5 Jan 2026 11:13:01 +0100 Subject: [PATCH 2/5] Update PHP versions in .travis.yml Updated PHP versions in Travis CI configuration to include 8.0 to 8.5. --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a8d64e5..af6e5dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,15 @@ language: php php: - - 7.2 - - 7.3 - - 7.4 + - 8.0 + - 8.1 + - 8.2 + - 8.3 + - 8.4 + - 8.5 before_script: composer install script: - ./vendor/bin/phpunit tests --testdox \ No newline at end of file + ./vendor/bin/phpunit tests --testdox From 461c4785710b79d0bee6d3667fb7a2530d79a2ee Mon Sep 17 00:00:00 2001 From: klapaudius Date: Mon, 5 Jan 2026 11:15:45 +0100 Subject: [PATCH 3/5] Update PHP versions in workflow configuration Make it compliant with current maintained php versions --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4030c20..68367d9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: true matrix: - php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '8.2', '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} @@ -40,4 +40,4 @@ jobs: run: composer install --prefer-dist --no-interaction --no-progress - name: Run test suite - run: ./vendor/bin/pest \ No newline at end of file + run: ./vendor/bin/pest From af6a7c37f608e7355ba17648234b4ca257c9eee8 Mon Sep 17 00:00:00 2001 From: klapaudius Date: Mon, 5 Jan 2026 11:16:17 +0100 Subject: [PATCH 4/5] Update PHP versions in .travis.yml Removed PHP versions 8.0 and 8.1 from Travis CI configuration. --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index af6e5dc..cf3d379 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: php php: - - 8.0 - - 8.1 - 8.2 - 8.3 - 8.4 From 8c6fbf872bd855f3b469192c124fbb75234f7ae8 Mon Sep 17 00:00:00 2001 From: klapaudius Date: Mon, 5 Jan 2026 11:17:34 +0100 Subject: [PATCH 5/5] Update PHP requirement to version ^8.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 000c6a5..d256999 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^7.3||^8.0", + "php": "^8.2", "ext-soap": "*", "ext-dom": "*" },