-
-
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
Php 8.3 compatibility issue #1897
Comments
In which file?! |
Ah that looks to be in Monolog\Level.. I guess this is a bug in php-codesniffer because it's an enum and not a class? Anyway nothing wrong here IMO |
See squizlabs/PHP_CodeSniffer#3827 - make sure you update your tooling if you are using the latest PHP version. |
@Seldaek I'm having trouble understanding the situation. Has the issue been resolved, or is there still a problem? Are you implying that there might be an issue with the configuration? Please provide a clear solution or a well-constructed response before closing tickets. |
There is no problem at all. Please read the linked issue before complaining. This was never a problem with Monolog. I'll paste it here though:
This bug was fixed over a year ago in the PHPCompatibility project. So you need to update that. |
Monolog 3.6.0
While checking the php compatibility via codesniffer for PHP 8.3, it is giving these errors for Monolog library
116 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
121 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
126 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
138 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
157 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
176 | ERROR | "$this" can no longer be used in a plain function or method since PHP 7.1.
The text was updated successfully, but these errors were encountered: