mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-25 23:55:56 +03:00
[PR #928] [CLOSED] Php5.3 autoload errors #1418
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#1418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/928
Author: @fabriceparallel
Created: 2/21/2017
Status: ❌ Closed
Base:
master← Head:php5.3_autoload_errors📝 Commits (2)
c82afaaAdd missed return phpdoc tag. (#908)8140f60make ErrorHandler extends LogLevel to avoid autoloading issue when error is triggered on compile📊 Changes
2 files changed (+20 additions, -19 deletions)
View changed files
📝
src/Monolog/ErrorHandler.php(+19 -19)📝
src/Monolog/Handler/RavenHandler.php(+1 -0)📄 Description
See this PHP5.3 bug
When an error is triggered on compile-time the autoloader is not called which create a "
LogLevelclass not found" error.I make the ErrorHandler extend LogLevel so ErrorHandler will already have all the log level it's looking for, and the autoloader won't be called.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.