Skip to content

Add type specifying extension for ctype_digit #1635

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

Merged
merged 4 commits into from
Aug 24, 2022

Conversation

fluffycondor
Copy link
Contributor

No description provided.

@staabm
Copy link
Contributor

staabm commented Aug 19, 2022

You may find additional inspiration for the tests in #1615

@fluffycondor
Copy link
Contributor Author

fluffycondor commented Aug 19, 2022

Thanks for those tests. I found some edge cases.

@BackEndTea
Copy link
Contributor

Isnt passing ints to ctype_* functions being deprecated?

@staabm
Copy link
Contributor

staabm commented Aug 20, 2022

Yep it is. Supporting existing code which uses it is still good though to e.g. prevent false positives

@ondrejmirtes
Copy link
Member

Please rebase the branch and solve conflicts, thanks :)

@ondrejmirtes
Copy link
Member

No merge commits please, linear history only.

@fluffycondor fluffycondor force-pushed the ctype-digit-extension branch from 96182fd to 6f8b483 Compare August 24, 2022 11:59
@ondrejmirtes ondrejmirtes merged commit 78e5c8e into phpstan:1.8.x Aug 24, 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.

5 participants