Skip to content

fix: suppress PHP 8.4 ArrayAccess deprecations#9

Open
savinmikhail wants to merge 1 commit intoopis:masterfrom
savinmikhail:fix/php84-arrayaccess-deprecations
Open

fix: suppress PHP 8.4 ArrayAccess deprecations#9
savinmikhail wants to merge 1 commit intoopis:masterfrom
savinmikhail:fix/php84-arrayaccess-deprecations

Conversation

@savinmikhail
Copy link
Copy Markdown

Fixes #8

Summary

  • add explicit @return void annotations to UnicodeString::offsetSet() and UnicodeString::offsetUnset()
  • keep #[\ReturnTypeWillChange] in place for compatibility with supported PHP versions

Notes

  • this avoids PHP 8.4 deprecation noise around ArrayAccess method signatures without requiring native return types
  • full dependency installation was not completed locally because the host PHP is missing ext-dom

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.

PHP 8.4 deprecation: UnicodeString ArrayAccess methods are missing void return types

1 participant