[PR #866] [MERGED] Remove substitution for not defined variables #1385

Closed
opened 2026-03-04 03:11:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/866
Author: @p-golovin
Created: 10/10/2016
Status: Merged
Merged: 11/13/2016
Merged by: @Seldaek

Base: 1.xHead: patch-1


📝 Commits (2)

  • ccb4aeb Remove substitution for not defined variables
  • c3c0abf Update LineFormatter.php

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 src/Monolog/Formatter/LineFormatter.php (+4 -0)

📄 Description

If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders


🔄 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/866 **Author:** [@p-golovin](https://github.com/p-golovin) **Created:** 10/10/2016 **Status:** ✅ Merged **Merged:** 11/13/2016 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `1.x` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`ccb4aeb`](https://github.com/Seldaek/monolog/commit/ccb4aeba216f8ad60a00ddea3fe823dbce4dc4b1) Remove substitution for not defined variables - [`c3c0abf`](https://github.com/Seldaek/monolog/commit/c3c0abf2a42e2e9575246ea52f84e2249642d0a3) Update LineFormatter.php ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Formatter/LineFormatter.php` (+4 -0) </details> ### 📄 Description If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:11:39 +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#1385
No description provided.