Skip to content

Fix SoapFault constructor type#1798

Merged
ondrejmirtes merged 2 commits intophpstan:1.8.xfrom
ahmedash95:fix-soapfault
Oct 12, 2022
Merged

Fix SoapFault constructor type#1798
ondrejmirtes merged 2 commits intophpstan:1.8.xfrom
ahmedash95:fix-soapfault

Conversation

@ahmedash95
Copy link
Contributor

The file is updated manually as I couldn't find if there is a generator or not.

Addresses phpstan/phpstan#8111

@ondrejmirtes
Copy link
Member

Could you please add a test to make sure it's fixed? Because there are multiple sources of these headers, it's not obvious this is actually gonna fix that. (PhpStorm stubs are also wrong in PHPDocs, would be nice to send a PR there too.)

@ondrejmirtes
Copy link
Member

Oh, you did already :)

@ahmedash95
Copy link
Contributor Author

I had to split the exceptions so everyone has its own function scope. because the test was reporting only the first throw statement.

- more tests to ensure mixed
- support older versions
@ondrejmirtes ondrejmirtes merged commit 3c214fa into phpstan:1.8.x Oct 12, 2022
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments