[PR #12262] [MERGED] Address default expression deprecation #13623

Closed
opened 2026-01-22 16:17:49 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12262
Author: @greg0ire
Created: 11/9/2025
Status: Merged
Merged: 11/10/2025
Merged by: @greg0ire

Base: 3.5.xHead: address-dbal-depr


📝 Commits (1)

  • c502190 Address default expression deprecation

📊 Changes

2 files changed (+80 additions, -0 deletions)

View changed files

📝 src/Tools/SchemaTool.php (+37 -0)
tests/Tests/ORM/Functional/DefaultTimeExpressionTest.php (+43 -0)

📄 Description

This addresses the deprecation introduced in
https://github.com/doctrine/dbal/pull/7195

A follow-up should be to deprecate not using these value objects in field mappings, so that we do not just reproduce the same checks that the DBAL wants to remove.

Relates to #12252


🔄 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/doctrine/orm/pull/12262 **Author:** [@greg0ire](https://github.com/greg0ire) **Created:** 11/9/2025 **Status:** ✅ Merged **Merged:** 11/10/2025 **Merged by:** [@greg0ire](https://github.com/greg0ire) **Base:** `3.5.x` ← **Head:** `address-dbal-depr` --- ### 📝 Commits (1) - [`c502190`](https://github.com/doctrine/orm/commit/c502190712f97668d721d4e61ce24d4f4ce269b4) Address default expression deprecation ### 📊 Changes **2 files changed** (+80 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Tools/SchemaTool.php` (+37 -0) ➕ `tests/Tests/ORM/Functional/DefaultTimeExpressionTest.php` (+43 -0) </details> ### 📄 Description This addresses the deprecation introduced in https://github.com/doctrine/dbal/pull/7195 A follow-up should be to deprecate not using these value objects in field mappings, so that we do not just reproduce the same checks that the DBAL wants to remove. Relates to #12252 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:17:49 +01:00
admin closed this issue 2026-01-22 16:17:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13623