-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add support for PHP 8.4, Upgrade PHPUnit to 10.x, remove Prophecy dependency and improve unit tests #174
Conversation
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
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.
Thank you @fezfez :)
The code changes all look 👌 but can you please add to PHPUnit config failOnDeprecation
along with failOn…
PhpUnitDeprecation|Error|Warning|Notice
and re-push - there are some deprecations in the tests that are currently going unnoticed and they may or may not be problematic
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
@gsteel done expect failOnPhpunitDeprecation because of
those two static method create a mock with |
Signed-off-by: fezfez <[email protected]>
@gsteel fail on deprecation also fail on php 8.4 lowest job... Should a disable it too for now? |
Fixing the non-static static data providers will have to be done at some point - can you move the mocks to the test and provide any required data for the mock in the provider? It's also helpful to set |
Signed-off-by: fezfez <[email protected]>
Signed-off-by: fezfez <[email protected]>
@gsteel this time i think it's good :) |
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.
Sorry @fezfez - I missed something, but other than that this is good to go. Thank you :)
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.
🤦♂️ Forgot to add the review comment
Signed-off-by: fezfez <[email protected]>
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.
Thanks again @fezfez
No description provided.