[PR #761] [MERGED] extract browser detection regex into a constant #1332

Closed
opened 2026-03-04 03:09:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/761
Author: @xabbuh
Created: 4/5/2016
Status: Merged
Merged: 4/10/2016
Merged by: @Seldaek

Base: 1.xHead: patch-1


📝 Commits (1)

  • f72b503 extract browser detection regex into a constant

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 src/Monolog/Handler/ChromePHPHandler.php (+6 -2)

📄 Description

This will make it possible to reuse the regular expression in handlers that wrap or extend this one (see symfony/symfony#18439 for a use case).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Seldaek/monolog/pull/761 **Author:** [@xabbuh](https://github.com/xabbuh) **Created:** 4/5/2016 **Status:** ✅ Merged **Merged:** 4/10/2016 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `1.x` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f72b503`](https://github.com/Seldaek/monolog/commit/f72b5036f8421968e4968e9ce905b751b78b53d7) extract browser detection regex into a constant ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Handler/ChromePHPHandler.php` (+6 -2) </details> ### 📄 Description This will make it possible to reuse the regular expression in handlers that wrap or extend this one (see symfony/symfony#18439 for a use case). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:09:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#1332
No description provided.