-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#7763 escape quotes in field comments #7764
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your pull request. Please fix these 2 cs issues:
FILE: lib/Doctrine/ORM/Tools/EntityGenerator.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------
1682 | ERROR | [x] Function str_replace() should not be referenced via a
| | fallback global name, but via a use statement.
| | (SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFallbackGlobalName)
1682 | ERROR | [x] Concat operator must be surrounded by a single space
| | (Squiz.Strings.ConcatenationSpacing.PaddingFound)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
I did the change, i don't know the process now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is probably fine, but be aware that entity creation with the EntityGenerator
was dropped in the next major release and that there won't be a generator or a generator command anymore: https://github.com/doctrine/orm/blob/master/UPGRADE.md#bc-break-removed-code-generators-and-related-console-commands
Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guillaume-a this PR completely passed by my reviews, sorry. As mentioned before, this class is going to die a terrible death but I'm fine with patching it up once more.
@guillaume-a thanks for your contribution 👍 |
This is my attempt to PR this.
Tell me if it's okay or not.