TestCase::getMockFromWsdl() does not work with PHP 8.1-dev #4694
Labels
feature/test-doubles
Test Stubs and Mock Objects
type/change-in-php-requires-adaptation
A change in PHP requires a change so that existing PHPUnit functionality continues to work
With a clean build of PHP 8.1-dev (d2e5203865) I get
The generated code that causes the error looks like so:
This error does not happen when I revert the changes introduced in php/php-src@8ae4b56.
As far as I understand it, the aforementioned commit is related to the Add return type declarations for internal methods RFC. This RFC says
@kocsismate Can you please clarify whether or not this error is the result of a bug that was introduced in php/php-src@8ae4b56 or whether PHPUnit needs to be adapted to these changes? Thanks!
The text was updated successfully, but these errors were encountered: