-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Bug]: PHP Deprecated: #3588
Comments
Sounds like you are not on the latest package version. Please specify the exact package version you are on (3.1 has 37 releases) |
@patrickbrouwers I got the same issue. Laravel version: 9.9.0 Laravel Excel version: 3.1.38 Error: I add the attribute to file |
Please PR that change if possible |
/retitle "[Bug] PHP 8.1 deprecation warning on jsonSerialize" |
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
8.1
What version of PHP are you using?
8.1
Describe your issue
PHP Deprecated: Return type of Maatwebsite\Excel\Validators\Failure::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
How can the issue be reproduced?
rules()
What should be the expected behaviour?
should not show this notice.
The text was updated successfully, but these errors were encountered: