Skip to content

Commit 3efadad

Browse files
authored
Merge pull request #14 from David-Hoagland/patch-2
Update SoapClientPlus for PHP 8.5
2 parents 937e06b + a22194b commit 3efadad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
44-
php-version: ["8.2", "8.3", "8.4"]
44+
php-version: ["8.5"]
4545

4646
name: 'Tests - PHP ${{ matrix.php-version }}'
4747
steps:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=8.2 <8.5",
19+
"php": "^8.5",
2020
"ext-curl": "*",
2121
"ext-libxml": "*",
2222
"ext-simplexml": "*",

src/SoapClientPlus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function resetDebugValue(): void
310310
* @return mixed
311311
* @deprecated
312312
*/
313-
public function __call(string $name, $args): mixed
313+
public function __call(string $name, array $args): mixed
314314
{
315315
array_unshift($args, $name);
316316
return call_user_func_array([$this, '__soapCall'], $args);
@@ -449,7 +449,7 @@ protected function parseXML(SimpleXMLElement $element, array &$array): void
449449
* @return string
450450
* @throws \Exception
451451
*/
452-
public function __doRequest(string $request, string $location, string $action, int $version, $oneWay = 0): string
452+
public function __doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false, ?string $uriParserClass = null): ?string
453453
{
454454
$ch = curl_init($location);
455455
curl_setopt($ch, CURLOPT_POSTFIELDS, $request);

0 commit comments

Comments
 (0)