[PR #507] [CLOSED] Now MetaDataFilter takess also regexp. For example whern you want to #8300

Open
opened 2026-01-22 15:59:16 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/507
Author: @catalinux
Created: 11/6/2012
Status: Closed

Base: masterHead: filter-regexp


📝 Commits (5)

  • 9b8db62 Now MetaDataFilter takess also regexp. For example whern you want to
  • a813dd5 - Applied Phpstorm PSR format
  • 688a4ec added preg_quote to $filter input
  • 33a12ad added space after type cast (I could not find any rule in psr1/2 standard, but I modified in PhpStorm)
  • b9f75f4 checking preg result. Should I raise an error

📊 Changes

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

View changed files

📝 lib/Doctrine/ORM/Tools/Console/MetadataFilter.php (+10 -1)

📄 Description

extract metadata if you would filter like this: --filter="Article"
would extract also for "ArticleItems" (article_items table). Now you
can use --filter="Article$" if you want only that table (articl)


🔄 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/507 **Author:** [@catalinux](https://github.com/catalinux) **Created:** 11/6/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `filter-regexp` --- ### 📝 Commits (5) - [`9b8db62`](https://github.com/doctrine/orm/commit/9b8db6297536a7ab94d5cbf9972b27dc55f50ebe) Now MetaDataFilter takess also regexp. For example whern you want to - [`a813dd5`](https://github.com/doctrine/orm/commit/a813dd5643a2cc6394c724b85de8dc49a4f8b19a) - Applied Phpstorm PSR format - [`688a4ec`](https://github.com/doctrine/orm/commit/688a4ecd6ceb1fa773c8c55dee4815f320e7e35b) added preg_quote to $filter input - [`33a12ad`](https://github.com/doctrine/orm/commit/33a12ad57088997ae329dda2ec3053ca3d2cc985) added space after type cast (I could not find any rule in psr1/2 standard, but I modified in PhpStorm) - [`b9f75f4`](https://github.com/doctrine/orm/commit/b9f75f4f53f8ce4f0217857d562e44db4a91012b) checking preg result. Should I raise an error ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/Console/MetadataFilter.php` (+10 -1) </details> ### 📄 Description extract metadata if you would filter like this: --filter="Article" would extract also for "ArticleItems" (article_items table). Now you can use --filter="Article$" if you want only that table (articl) --- <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 15:59:16 +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#8300