-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
PHP 8 support #35
PHP 8 support #35
Conversation
* update phpunit.xml schema * fix deprecated/removed/changed stuff in PHPUnit 9 Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
…db in php8 Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
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.
So far, LGTM.
Had some minor change requests but overall, nice improvement here 👍
Do you have examples? I am not into this repo (I've justed added 300 Issues for all packages ;-)) so I'd prefer having some examples. Overall: yes, remove 'em if they're really 7.1 related.
Would prefer a dedicated PR for improvements.
|
Removing old major versions of deps is fine, as long as it doesn't change our API 👍 |
…quirement in composer.json Signed-off-by: Thomas Rieschl <thomas@trinet.at>
…hould also cover AbstractContainer Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Yes, there are some tests which are skipped if PHP is less than
Yes, just a few to keep coveralls from failing :) |
…ager v2 Signed-off-by: Thomas Rieschl <thomas@trinet.at>
This PR will get merged even without increasing coveralls. Just decreasing wont be that good ;-) |
But apparently, coveralls thinks it decreased and marks the build as failed 🤷 |
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Alright, I think I'm satisfied with my PR, now. However, coveralls still complains and I have no idea, why. If anyone can point me to the right direction, I'm happy to add another test. |
With the transition to laminas, we've added minimum of coverage which is not reached in this and many other projects. Thus, we are merging those projects even if coveralls is complaining. Thats what I wanted to say in one of my latest messages. This is already a huge improvement you did here, thank you very much, @rieschl I'll start review later on, but one thing I've already realized is the deletion of some files. |
Hm, I can just keep the files, but then there's really no reason to drop |
I reverted the deletion of those files, but kept the new/changed ValidatorChain. Is this how you meant it? |
Damn, my fault. Sorry for the trouble. |
Thanks for the feedback! |
I just found another thing. In |
Just mark the methods as deprecated but keep them as is. |
…d in PHP 7.1 Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Done! |
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.
LGTM
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
Signed-off-by: Thomas Rieschl <thomas@trinet.at>
@froschdesign As the functionality of some methods in |
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Thanks, @rieschl! |
Has already been done in the past. See: https://docs.laminas.dev/laminas-session/config/#basic-configuration-options |
Description
laminas-coding-standard
will probably fix that.Validator\HttpUserAgent
ToDo:
laminas-servicemanager
v2 supportlaminas-eventmanager
v2 support(?)@boesing Could you confirm that the todo list is ok?
fixes #33
required for #30