Skip to content

Fixes php 8.5 deprecated methods SplObjectStorage::attach() and SplObjectStorage::detach()#280

Merged
fabpot merged 1 commit intosilexphp:mainfrom
lebris:main
Feb 26, 2026
Merged

Fixes php 8.5 deprecated methods SplObjectStorage::attach() and SplObjectStorage::detach()#280
fabpot merged 1 commit intosilexphp:mainfrom
lebris:main

Conversation

@lebris
Copy link
Copy Markdown
Contributor

@lebris lebris commented Feb 25, 2026

In addition to #276

Fixes SplObjectStorage deprecated methods since php 8.5

  • attach() is replaced by offsetSet()
  • detach() is replaced by offsetUnset()

@fabpot
Copy link
Copy Markdown
Member

fabpot commented Feb 26, 2026

Thank you @lebris.

@fabpot fabpot merged commit 8cfe7f7 into silexphp:main Feb 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants