[PR #600] [CLOSED] Update SwiftMailerHandler.php #1250

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

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/600
Author: @kierwils
Created: 7/9/2015
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • cece8cd Update SwiftMailerHandler.php

📊 Changes

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

View changed files

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

📄 Description

Swift_Message setDate now requires a DateTime object

Catchable fatal error: Argument 1 passed to Swift_Mime_SimpleMessage::setDate() must implement interface DateTimeInterface, integer given, called in monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php on line 69 and defined in swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php on line 98

Using:

"monolog/monolog": "dev-master"
"swiftmailer/swiftmailer": "dev-master",


🔄 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/600 **Author:** [@kierwils](https://github.com/kierwils) **Created:** 7/9/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`cece8cd`](https://github.com/Seldaek/monolog/commit/cece8cdaeb5fbe20c6e1514550bbd91ff4373de6) Update SwiftMailerHandler.php ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Handler/SwiftMailerHandler.php` (+1 -1) </details> ### 📄 Description Swift_Message setDate now requires a DateTime object Catchable fatal error: Argument 1 passed to Swift_Mime_SimpleMessage::setDate() must implement interface DateTimeInterface, integer given, called in monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php on line 69 and defined in swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php on line 98 Using: "monolog/monolog": "dev-master" "swiftmailer/swiftmailer": "dev-master", --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:07:38 +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#1250
No description provided.