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

Deprecation warnings on PHP 8.1 #563

Open
jokaorgua opened this issue Feb 10, 2022 · 1 comment
Open

Deprecation warnings on PHP 8.1 #563

jokaorgua opened this issue Feb 10, 2022 · 1 comment

Comments

@jokaorgua
Copy link

Hello. I'm using PHP 8.1.1 and lib version 4.4.1

I see the following deprecation warnings

1x: Method "ArrayAccess::offsetSet()" might add "void" as a native return type declaration in the future. Do the same in implementation "Sabre\VObject\Node" now to avoid errors or add an explicit @return annotation to suppress this message.

  1x: Method "ArrayAccess::offsetUnset()" might add "void" as a native return type declaration in the future. Do the same in implementation "Sabre\VObject\Node" now to avoid errors or add an explicit @return annotation to suppress this message.

  1x: Method "ArrayAccess::offsetSet()" might add "void" as a native return type declaration in the future. Do the same in implementation "Sabre\VObject\Property" now to avoid errors or add an explicit @return annotation to suppress this message.

  1x: Method "ArrayAccess::offsetUnset()" might add "void" as a native return type declaration in the future. Do the same in implementation "Sabre\VObject\Property" now to avoid errors or add an explicit @return annotation to suppress this message.

  1x: Method "ArrayAccess::offsetSet()" might add "void" as a native return type declaration in the future. Do the same in implementation "Sabre\VObject\Property\ICalendar\DateTime" now to avoid errors or add an explicit @return annotation to suppress this message.
@ovgray
Copy link

ovgray commented Feb 21, 2023

Using php 8.1.2 and lib version 4.5.3 I see the above deprecations plus the following:

  1x: Method "ArrayIterator::offsetSet()" might add "void" as a native return type declaration in the future. Do the same in child class "Sabre\VObject\ElementList" now to avoid errors or add an explicit @return annotation to suppress this message.


  1x: Method "ArrayIterator::offsetUnset()" might add "void" as a native return type declaration in the future. Do the same in child class "Sabre\VObject\ElementList" now to avoid errors or add an explicit @return annotation to suppress this message.


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

No branches or pull requests

2 participants