Skip to content

Conversation

@dereuromark
Copy link
Contributor

@dereuromark dereuromark commented Dec 20, 2025

Summary

  • Replace deprecated SplObjectStorage::attach() with array syntax which uses offsetSet() internally

The attach() method is deprecated in PHP 8.5:

deprecated: 8192 :: Method SplObjectStorage::attach() is deprecated since 8.5, use method SplObjectStorage::offsetSet() instead

All tests continue to pass.

Resolves #44

Replace deprecated SplObjectStorage::attach() with array syntax
which uses offsetSet() internally. The attach() method is deprecated
in PHP 8.5.
@dereuromark dereuromark mentioned this pull request Dec 20, 2025
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.

8.5 deprecations

1 participant