We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you use \SoapClient, it's called with method name defined in WSDL:
$client = new \SoapClient($url); $client->getCalendar($data);
PHPStan returns error: Call to an undefined method SoapClient::getCalendar().
Call to an undefined method SoapClient::getCalendar().
Is it possible to ignore this error or whole class?
The text was updated successfully, but these errors were encountered:
You can either create your own class reflection extension that defines these methods, or ignore this error with a regular expression:
ignoreErrors: - '#Call to an undefined method SoapClient::#'
Sorry, something went wrong.
Thank you!
PHPStan now includes the class reflection extension for SoapClient's magic methods out of the box: phpstan/phpstan-src@f6107ad
No branches or pull requests
When you use \SoapClient, it's called with method name defined in WSDL:
PHPStan returns error:
Call to an undefined method SoapClient::getCalendar().
Is it possible to ignore this error or whole class?
The text was updated successfully, but these errors were encountered: