mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[PR #498] [MERGED] Restore ability to continue using mlehner/gelf-php in test #1187
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#1187
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/498
Author: @johnkary
Created: 1/20/2015
Status: ✅ Merged
Merged: 1/20/2015
Merged by: @Seldaek
Base:
master← Head:fixGelfTests📝 Commits (1)
6c18364Restore ability to continue using mlehner/gelf-php in test📊 Changes
2 files changed (+27 additions, -0 deletions)
View changed files
📝
tests/Monolog/Handler/GelfHandlerLegacyTest.php(+2 -0)➕
tests/Monolog/Handler/GelfMocks.php(+25 -0)📄 Description
Was previously broken by a coding standard commit
392ef35fd4that removed some mock files necessary to execute the tests when graylog2/gelf-php is deleted and mlehner/gelf-php is installed instead. This is hidden from normal test suite runs because the tests are skipped when mlehner/gelf-php is not installed.You can check that this wasn't working against the master branch by doing the following:
I was working on another contribution and wondered why so many tests were skipped in the Monolog test suite. I found this issue after digging into a few of the skips.
I'm not 100% sure on the history of the mlehner/gelf-php and graylog2/gelf-php packages, but the tests showed they should support both packages. So maybe we either accept this PR, or remove support for mlehner/gelf-php?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.