diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index 867b2ee..6ad622d 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.3', '8.4', '8.5'] + php-versions: ['8.4', '8.5'] composer-options: ['--ignore-platform-req=php+'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} diff --git a/composer.json b/composer.json index f8aab2a..c40145f 100644 --- a/composer.json +++ b/composer.json @@ -15,13 +15,13 @@ } ], "require": { - "php": "~8.3.0 || ~8.4.0 || ~8.5.0", + "php": "~8.4.0 || ~8.5.0", "ext-dom": "*", "phpunit/phpunit": "~12.3", "php-soap/engine": "^2.16", "php-soap/xml": "^1.9", "php-vcr/php-vcr": "^1.6.0", - "veewee/xml": "^3.0" + "veewee/xml": "^4.8" }, "require-dev": { "php-cs-fixer/shim": "~3.88" diff --git a/src/AbstractIntegrationTest.php b/src/AbstractIntegrationTest.php index 0ff4d04..9407bbf 100644 --- a/src/AbstractIntegrationTest.php +++ b/src/AbstractIntegrationTest.php @@ -4,7 +4,7 @@ namespace Soap\EngineIntegrationTests; -use DOMElement; +use Dom\Element; use PHPUnit\Framework\TestCase; use Soap\Xml\Locator\SoapBodyLocator; use Soap\Xml\Xpath\EnvelopePreset; @@ -34,7 +34,7 @@ protected function runXpathOnBody(Document $xml, string $xpath): NodeList return $results; } - protected function runSingleElementXpathOnBody(Document $xml, string $xpath): DOMElement + protected function runSingleElementXpathOnBody(Document $xml, string $xpath): Element { $body = $xml->locate(new SoapBodyLocator());