[PR #493] [MERGED] Do not add trailing whitespace to blank lines #8284

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/493
Author: @nmpolo
Created: 10/30/2012
Status: Merged
Merged: 11/6/2012
Merged by: @guilhermeblanco

Base: masterHead: codegenerationfixes


📝 Commits (4)

  • 0f92944 Do not add trailing whitespace to blank lines
  • 0a2ba38 Add new line to end of file
  • 3a8ea72 Merge remote-tracking branch 'origin/master' into codegenerationfixes
  • e402a0c Spaces around ! sign

📊 Changes

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

View changed files

📝 lib/Doctrine/ORM/Tools/EntityGenerator.php (+4 -2)

📄 Description

This change prevents spaces from being added to blank lines so PHP Code Sniffer doesn't generate errors when using PSR2 standards.


🔄 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/493 **Author:** [@nmpolo](https://github.com/nmpolo) **Created:** 10/30/2012 **Status:** ✅ Merged **Merged:** 11/6/2012 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `codegenerationfixes` --- ### 📝 Commits (4) - [`0f92944`](https://github.com/doctrine/orm/commit/0f92944edd77dd83555a9116b414ec8f1a77ac9d) Do not add trailing whitespace to blank lines - [`0a2ba38`](https://github.com/doctrine/orm/commit/0a2ba38e58e0656c09ffc2884b3d97eded60622f) Add new line to end of file - [`3a8ea72`](https://github.com/doctrine/orm/commit/3a8ea7260ca31b6f47ad48c1e3d132333fd022b9) Merge remote-tracking branch 'origin/master' into codegenerationfixes - [`e402a0c`](https://github.com/doctrine/orm/commit/e402a0c078fc13449e70d98023280554355d5b8d) Spaces around ! sign ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+4 -2) </details> ### 📄 Description This change prevents spaces from being added to blank lines so PHP Code Sniffer doesn't generate errors when using PSR2 standards. --- <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:12 +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#8284