-
Notifications
You must be signed in to change notification settings - Fork 148
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
Proposal: Drop support for PHP versions that are EOL #161
Proposal: Drop support for PHP versions that are EOL #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please \o/
Would this PR also add native typing to the |
Seems complicated in most assertions. For example, if Assert::string can only takes string, it defeats its whole purpose (taking something else and fail the assertion). |
@orklah I only meant those that can be typed: eg
So, only places where |
don't think we should have But yes, where we have type declarations, we can now have native type checks. Please remember to not accept |
I thought that too, but having |
Depends: I use that kind of assertion mostly where strings are already the current type, and maybe they are even already ensured to be not empty 🤷♀️ Even then, adding more precise assertions is powerful, and we probably want a DSL for grouping them together instead. |
oh nononononononononononononononononononononononononononononononononononononononononononononononononononononono But anyway, you people enjoy your Saturday :-D |
Well, you know that |
It could be useful to also update phpunit version (^9.3) to have a full support a php 8 without ignoring platform requirements |
Thank you. This suggestion has been merged into master. I did not merge this PR because most of it changes/all had conflicts or were obsolete. I hope you don't mind. |
All PHP versions < 7.2 are end of life and should no longer be used. It is harmful to support these outdated versions in the future.
Why?