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 diff --git a/.travis.yml b/.travis.yml index a8d64e5..cf3d379 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,13 @@ language: php php: - - 7.2 - - 7.3 - - 7.4 + - 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 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); } 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": "*" },