prefix code with spaces in EntityGenerator #5202

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

Originally created by @poolerMF on GitHub (Jul 27, 2016).

Originally assigned to: @Majkl578 on GitHub.

hello

class EntityGenerator, function prefixCodeWithSpaces

old condition:

if ( ! empty($value)) {
...
}

suggested condition:

if ( ! empty($value) && $value != "\r") {
...
}
Originally created by @poolerMF on GitHub (Jul 27, 2016). Originally assigned to: @Majkl578 on GitHub. hello class **EntityGenerator**, function **prefixCodeWithSpaces** old condition: ``` if ( ! empty($value)) { ... } ``` suggested condition: ``` if ( ! empty($value) && $value != "\r") { ... } ```
admin added the ImprovementWon't FixInvalid labels 2026-01-22 15:01:26 +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#5202