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

PHP 8.1 compatibility / deprecation warnings #422

Closed
knallcharge opened this issue Feb 7, 2022 · 1 comment
Closed

PHP 8.1 compatibility / deprecation warnings #422

knallcharge opened this issue Feb 7, 2022 · 1 comment
Assignees
Labels

Comments

@knallcharge
Copy link
Contributor

Bug Report

After updating to PHP 8.1 the following deprecation warnings are issued:
PHP Deprecated: Return type of Oneup\UploaderBundle\Uploader\Response\AbstractResponse::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\oneup\uploader-bundle\src\Uploader\Response\AbstractResponse.php on line 49
.
Deprecated: Return type of Oneup\UploaderBundle\Uploader\Response\AbstractResponse::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor\oneup\uploader-bundle\src\Uploader\Response\AbstractResponse.php on line 49

Q A
BC Break no
Version 3.1.3

Summary

PHP 8.1 deprecation warnings

How to reproduce

Use the bundle with PHP 8.1

@bytehead
Copy link
Member

Fixed by #427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants