Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"require": {
"php": "~8.4.0 || ~8.5.0 || ~8.6.0",
"ext-dom": "*",
"goetas-webservices/xsd-reader": "^0.4.11",
"goetas-webservices/xsd-reader": "^0.4.12",
"php-soap/engine": "^2.20",
"php-soap/wsdl": "^1.19",
"php-soap/xml": "^1.10",
Expand Down
8 changes: 0 additions & 8 deletions tests/PhpCompatibility/test_schema.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ $previousReporting = error_reporting(E_ALL ^ E_DEPRECATED);
require_once __DIR__.'/../bootstrap.php';
error_reporting($previousReporting);

// goetas-webservices/xsd-reader calls spl_object_hash(), which PHP 8.6 deprecates, and the notice would end up in
// the expected output. Only its deprecations are swallowed: any other one still fails the test.
// Remove once goetas-webservices/xsd-reader#96 is released.
set_error_handler(
static fn (int $errno, string $errstr, string $errfile): bool => $errno === E_DEPRECATED
&& str_contains($errfile, '/goetas-webservices/xsd-reader/'),
);

function test_schema($schema, $type, $style="rpc",$use="encoded", $attributeFormDefault='')
{
$wsdl = <<<EOF
Expand Down