mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #290] [MERGED] Add name length check to the HipChatHandler #1057
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#1057
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/290
Author: @levacic
Created: 12/24/2013
Status: ✅ Merged
Merged: 12/25/2013
Merged by: @Seldaek
Base:
master← Head:hipchat-name-length📝 Commits (1)
67a9087Add name length check to the HipChatHandler📊 Changes
2 files changed (+39 additions, -0 deletions)
View changed files
📝
src/Monolog/Handler/HipChatHandler.php(+31 -0)📝
tests/Monolog/Handler/HipChatHandlerTest.php(+8 -0)📄 Description
As explained in its docblock, the validation function will fall back to
a simple strlen check if mb_strlen is not available. However, that very
specific case is not one that was deemed important to support, as anyone
using UTF-8 in their code, without having mbstring available will
probably have bigger problems to worry about.
Fixes #289
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.