Skip to content

Conversation

@devbanana
Copy link
Contributor

Resolves phpstan/phpstan#5526. Let me know if there's anything else I'd need to add.

@devbanana
Copy link
Contributor Author

I see the test error but not sure what it's tripping on.

@ondrejmirtes
Copy link
Member

This change needs a test in NodeScopeResolverTest.

@ondrejmirtes ondrejmirtes merged commit 0364387 into phpstan:master Aug 25, 2021
@ondrejmirtes
Copy link
Member

Thank you!

@BackEndTea
Copy link
Contributor

Hey, this is probably incorrect for the SANITIZE versions, as they remove the 'wrong' parts, e.g. https://3v4l.org/PXaQ7

@ondrejmirtes
Copy link
Member

@BackEndTea Please send a PR or open an issue.

@devbanana
Copy link
Contributor Author

@BackEndTea Yeah I realized you are probably correct. I can try to handle the finer details in another PR if you haven't already.

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.

filter_var() should return non-empty-string if argument is non-empty-string

3 participants