Skip to content
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

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Add PHP 8.4 compatibility #400

merged 3 commits into from
Jan 28, 2025

Conversation

jdecool
Copy link
Contributor

@jdecool jdecool commented Dec 11, 2024

Closes #399

@jdecool jdecool force-pushed the php-84 branch 3 times, most recently from c0f7470 to 5d9bb61 Compare December 11, 2024 23:42
@jdecool
Copy link
Contributor Author

jdecool commented Dec 11, 2024

This MR requires Roave/infection-static-analysis-plugin#497 to have the CI green.

@ostrolucky
Copy link

Upstream has a PHP 8.4 support now

@Ocramius Ocramius added enhancement dependencies Pull requests that update a dependency file labels Jan 27, 2025
@Ocramius Ocramius added this to the 2.9.0 milestone Jan 27, 2025
@Ocramius
Copy link
Owner

Poke me when dependencies are updated, and it shall be shipped :)

We may need to drop PHP 8.1

@jdecool
Copy link
Contributor Author

jdecool commented Jan 28, 2025

ping @Ocramius

Copy link
Owner

@Ocramius Ocramius left a 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));
Copy link
Owner

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 ;-)

@Ocramius Ocramius self-assigned this Jan 28, 2025
@Ocramius Ocramius merged commit c46e79b into Ocramius:2.9.x Jan 28, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.4 support
3 participants