Proposal: Drop support for PHP versions that are EOL - #161
Conversation
|
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?