mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-27 08:35:53 +03:00
[GH-ISSUE #1324] Wrong DocBlock annotation in ErrorHandler::register causes static analyses to fail (again) #550
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#550
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?
Originally created by @Aerendir on GitHub (May 10, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1324
The full description of the problem is described at #1066 and was fixed by PR #1067 .
In version
1.23.0the DOCblock is correct.Also in the version
1.24.0the code seems to be right.But downloading the code, the code is the old one, with the wrong DOCblock that causes issues with static analysis.
This happen both downloading version
1.24.0with composer or downloading it directly from GitHub.Any feedback on this?
@xabbuh commented on GitHub (May 10, 2019):
I don't see the line you mention on GitHub: https://github.com/Seldaek/monolog/blob/1.24.0/src/Monolog/ErrorHandler.php#L58
@Aerendir commented on GitHub (May 10, 2019):
@xabbuh , you don't see the line? What does this means?
You should see this:
while it should be:
@xabbuh commented on GitHub (May 10, 2019):
What I just mean is that even when you look at the code on GitHub for the 1.4.0 tag it still contains the old code. #1067 was merged into
masterwhich is for Monolog 2 and thus this was not part of the 1.4.0 release.@Aerendir commented on GitHub (May 11, 2019):
@xabbuh , ok, I missed this part: thank you for the clarification! So I need to wait for the version 2 of monolog... Any ideas about the release date?