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
The getMockFromWsdl() method can be used to create a mock object based on a web service specification in WSDL format using PHP's SOAP extension.
SOAP and WSDL are not as commonly used anymore as they used to be, and even if they are, many developers have migrated from PHP's SOAP extension to alternative SOAP implementations for PHP.
To reduce complexity inside PHPUnit's test double functionality, TestCase::getMockFromWsdl() will be deprecated and then removed:
soft deprecation in PHPUnit 10.1 (add @deprecated annotation to the method declaration)
deprecation in PHPUnit 11 (using the method will trigger a deprecation)
removal in PHPUnit 12
The text was updated successfully, but these errors were encountered:
The
getMockFromWsdl()
method can be used to create a mock object based on a web service specification in WSDL format using PHP's SOAP extension.SOAP and WSDL are not as commonly used anymore as they used to be, and even if they are, many developers have migrated from PHP's SOAP extension to alternative SOAP implementations for PHP.
To reduce complexity inside PHPUnit's test double functionality,
TestCase::getMockFromWsdl()
will be deprecated and then removed:@deprecated
annotation to the method declaration)The text was updated successfully, but these errors were encountered: