-
- Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature/test-doublesTest Stubs and Mock ObjectsTest Stubs and Mock Objectstype/deprecationSomething will be/is deprecatedSomething will be/is deprecated
Milestone
Description
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
@deprecatedannotation to the method declaration) - deprecation in PHPUnit 11 (using the method will trigger a deprecation)
- removal in PHPUnit 12
Metadata
Metadata
Assignees
Labels
feature/test-doublesTest Stubs and Mock ObjectsTest Stubs and Mock Objectstype/deprecationSomething will be/is deprecatedSomething will be/is deprecated