Skip to content
New issue

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

Bug: MethodWhitelist does not accept constructors #140

Open
patrickkusebauch opened this issue Jan 17, 2021 · 1 comment
Open

Bug: MethodWhitelist does not accept constructors #140

patrickkusebauch opened this issue Jan 17, 2021 · 1 comment

Comments

@patrickkusebauch
Copy link

It is needed for PHP build-in DateTime/DateTimeImmutable/DateInterval classes, that throw exceptions for invalid inputs. Furthermore, this extension will mark them even if the input is hardcoded.

@pepakriz
Copy link
Owner

Yeah, this feature is missing because phpstan-dynamic-extensions didn't support constructors then. And I think the situation is still the same, isn't it?

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

No branches or pull requests

2 participants