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
In subclases of RavenHandler you could have a private $logLevels method in order to replicate the value in the parent class. As this is now protected, those subclasses will now all cause PHP errors on upgrade to 1.24.0.
An example of the error is:
Fatal error: Access level to PhpTek\Sentry\Monolog\Handler\SentryRavenHandler::$logLevels must be protected (as in class Monolog\Handler\RavenHandler) or weaker in /Users/damian.mooyman/Sites/testsite/vendor/phptek/sentry/src/Handler/SentryRavenHandler.php on line 23
You can fix this in the subclass by removing the private variable, but I just thought I'd ping back that this upgrade has a tiny risk of breakage.
I'm not sure if monolog is following semver. Apologies in advance if this isn't a valid bug, but I thought it would be better to provide feedback than not. :)
The text was updated successfully, but these errors were encountered:
In subclases of RavenHandler you could have a
private $logLevels
method in order to replicate the value in the parent class. As this is now protected, those subclasses will now all cause PHP errors on upgrade to 1.24.0.An example of the error is:
You can fix this in the subclass by removing the private variable, but I just thought I'd ping back that this upgrade has a tiny risk of breakage.
See phptek/silverstripe-sentry#18 for reference.
I'm not sure if monolog is following semver. Apologies in advance if this isn't a valid bug, but I thought it would be better to provide feedback than not. :)
The text was updated successfully, but these errors were encountered: