You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest up minimal PHP version to 7.0 or 7.4 and fix this warnings that is I actually get in PHP 8.2:
1x: Method "ArrayAccess::offsetExists()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "ArrayAccess::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" 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 "Imagine\Imagick\Layers" 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 "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Countable::count()" might add "int" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Iterator::current()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Iterator::key()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Iterator::next()" might add "void" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Iterator::rewind()" might add "void" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
1x: Method "Iterator::valid()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Imagine\Imagick\Layers" now to avoid errors or add an explicit @return annotation to suppress this message.
If you need I can create PR for it
The text was updated successfully, but these errors were encountered:
@mlocati tested this changes on my local project (changed files into the same approach) and it is works for me (no warnings anymore). Can you please merge it into master and push a new version?
Right now minimal supported PHP version is 8.0:
https://www.php.net/supported-versions.php
I suggest up minimal PHP version to 7.0 or 7.4 and fix this warnings that is I actually get in PHP 8.2:
If you need I can create PR for it
The text was updated successfully, but these errors were encountered: