[PR #2] [MERGED] Failing test #867

Closed
opened 2026-03-04 03:02:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/2
Author: @stof
Created: 3/18/2011
Status: Merged
Merged: 3/19/2011
Merged by: @Seldaek

Base: masterHead: failing_test


📝 Commits (1)

  • fb503ee Fixed an error when close() is called with an invalid resource.

📊 Changes

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

View changed files

📝 src/Monolog/Handler/StreamHandler.php (+1 -0)

📄 Description

This fixes a failing test when the resource is invalid as close was called by __destruct with a boolean value in $this->stream.


🔄 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/2 **Author:** [@stof](https://github.com/stof) **Created:** 3/18/2011 **Status:** ✅ Merged **Merged:** 3/19/2011 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `master` ← **Head:** `failing_test` --- ### 📝 Commits (1) - [`fb503ee`](https://github.com/Seldaek/monolog/commit/fb503eebf2a2b3f56b67e039d03d8973f0f868ff) Fixed an error when close() is called with an invalid resource. ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Handler/StreamHandler.php` (+1 -0) </details> ### 📄 Description This fixes a failing test when the resource is invalid as `close` was called by `__destruct` with a boolean value in `$this->stream`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:02:07 +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#867
No description provided.