vobject
vobject copied to clipboard
Deprecation warnings on PHP 8.1
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.
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.