You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hello, when running that latest .phar 4.1.13 file against our WSDL, using PHP 8.2 , we are seeing this error:
Deprecated: Callables of the form ["WsdlToPhp\WsdlHandler\Wsdl", "parent::getElementsByName"] are deprecated in vendor/wsdltophp/wsdlhandler/src/Wsdl.php on line 83
To Reproduce
Steps to reproduce the behavior:
During the package generation
Running this command:
Expected behavior
Getting the following error on some WSDLs multiple times
Deprecated: Callables of the form ["WsdlToPhp\WsdlHandler\Wsdl", "parent::getElementsByName"] are deprecated in vendor/wsdltophp/wsdlhandler/src/Wsdl.php on line 83
The text was updated successfully, but these errors were encountered:
This is not the exact same error message but it appears related. Some callable syntax was marked as deprecated in PHP 8.2.
“Deprecated: Use of "self" in callables is deprecated in ... on line ...”
Possible Solution:
“The easiest way to avoid the deprecation notice is to convert all self, parent, and static keywords in the callable construction to their corresponding class names. This can be easily done with the ::class magic method, which resolves to the fully-qualified class name.”
Describe the bug
Hello, when running that latest .phar 4.1.13 file against our WSDL, using PHP 8.2 , we are seeing this error:
Deprecated: Callables of the form ["WsdlToPhp\WsdlHandler\Wsdl", "parent::getElementsByName"] are deprecated in vendor/wsdltophp/wsdlhandler/src/Wsdl.php on line 83
To Reproduce
Steps to reproduce the behavior:
Running this command:
php.exe ./wsdltophp.phar generate:package --urlorpath="http://internal-vendor-website.com?singleWsdl" --destination="C:\WSDL\Package" --composer-name="company/package" --namespace="PackageName" --composer-settings="config.disable-tls:true" --force
Expected behavior
Getting the following error on some WSDLs multiple times
Deprecated: Callables of the form ["WsdlToPhp\WsdlHandler\Wsdl", "parent::getElementsByName"] are deprecated in vendor/wsdltophp/wsdlhandler/src/Wsdl.php on line 83
The text was updated successfully, but these errors were encountered: