-
-
Notifications
You must be signed in to change notification settings - Fork 15
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 PHP 8.4 compatibility #400
Conversation
c0f7470
to
5d9bb61
Compare
This MR requires Roave/infection-static-analysis-plugin#497 to have the CI green. |
Upstream has a PHP 8.4 support now |
Poke me when dependencies are updated, and it shall be shipped :) We may need to drop PHP 8.1 |
ping @Ocramius ✅ |
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 @jdecool!
@@ -19,12 +19,17 @@ class MissingBatchItemException extends UnexpectedValueException implements Exce | |||
{ | |||
public static function fromInvalidReference(ClassMetadata $metadata, object $object): MissingBatchItemException | |||
{ | |||
$identifier = json_encode($metadata->getIdentifierValues($object)); |
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.
Not a problem here, but JSON_THROW_ON_ERROR
in future: let it crash and burn ;-)
Closes #399