mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #886] [CLOSED] Public generic methods in TestHandler #1399
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#1399
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/886
Author: @julienfalque
Created: 11/15/2016
Status: ❌ Closed
Base:
master← Head:test-handler-generic-methods📝 Commits (1)
575940fMake protected generic methods public📊 Changes
2 files changed (+7 additions, -3 deletions)
View changed files
📝
src/Monolog/Handler/TestHandler.php(+3 -3)📝
tests/Monolog/Handler/TestHandlerTest.php(+4 -0)📄 Description
Makes
TestHandler::hasRecordRecords()andTestHandler::hasRecord()public so they can be used in tests directly just like the other generic methods. Also renameshasRecordRecordstohasRecordsbecause hasRecordRecords is kinda weird.Not sure the
protectedtopublicchange would be a BC break for 1.x. If not, I can set thehasRecordRecordsmethod back with a deprecation message. WDYT?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.