Skip to content

Bump jms/serializer to 3.32 to fix SplObjectStorage::attach/detach() deprecation on PHP 8.5#960

Open
lacatoire wants to merge 1 commit into
schmittjoh:masterfrom
lacatoire:bump/jms-serializer-3.32
Open

Bump jms/serializer to 3.32 to fix SplObjectStorage::attach/detach() deprecation on PHP 8.5#960
lacatoire wants to merge 1 commit into
schmittjoh:masterfrom
lacatoire:bump/jms-serializer-3.32

Conversation

@lacatoire
Copy link
Copy Markdown

This PR bumps the required version of jms/serializer from ^3.31 to ^3.32.

Version 3.32 includes the fix for the PHP 8.5 deprecation:
Deprecated: Method SplObjectStorage::detach() is deprecated since 8.5

The relevant upstream change is here:
schmittjoh/serializer@bc93d68

Updating to 3.32 resolves this deprecation without introducing any BC breaks.

@scyzoryck
Copy link
Copy Markdown
Collaborator

Not sure if it is needed - ^3.31 allows also 3.32.x, so updating single dependency in your project should do the job. As the fix was released with 3.32.6, changing to ^3.32 is not making a lot of changes. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants