From 53fafc5979e9cd412c8006545940e24b90d600ec Mon Sep 17 00:00:00 2001 From: Karting06 Date: Tue, 7 Apr 2026 22:34:26 +0200 Subject: [PATCH 1/2] Fix NTLMSoapClient doRequest for PHP 8.5 --- src/API/NTLMSoapClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/API/NTLMSoapClient.php b/src/API/NTLMSoapClient.php index a986aba5..a1af6cf2 100644 --- a/src/API/NTLMSoapClient.php +++ b/src/API/NTLMSoapClient.php @@ -187,10 +187,11 @@ public function __construct($location, $auth, $wsdl, $options = array()) * @param string $action the soap action. * @param integer $version the soap version * @param integer $one_way + * @param string $uriParserClass * @return string the xml soap response. */ #[\ReturnTypeWillChange] - public function __doRequest($request, $location, $action, $version, $one_way = 0) + public function __doRequest($request, $location, $action, $version, $one_way = 0, ?string $uriParserClass = null) { $postOptions = array( 'body' => $request, From 0ad8a790bc507108d1076104b889f3373b9d1356 Mon Sep 17 00:00:00 2001 From: Karting06 Date: Wed, 8 Apr 2026 19:36:22 +0200 Subject: [PATCH 2/2] Enable tests on PHP 8.5 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 21ac6da3..932e8040 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.1', '8.2', '8.3', '8.4' ] + php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} steps: - name: Checkout