Skip to content
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

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Conversation

guillaume-a
Copy link
Contributor

This is my attempt to PR this.
Tell me if it's okay or not.

Copy link
Member

@SenseException SenseException left a 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
--------------------------------------------------------------------------------

@guillaume-a
Copy link
Contributor Author

I did the change, i don't know the process now :)
Changes are pushed.

SenseException
SenseException previously approved these changes Jul 8, 2019
Copy link
Member

@SenseException SenseException left a 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

@guillaume-a
Copy link
Contributor Author

Thanks.

greg0ire
greg0ire previously approved these changes Sep 28, 2019
@lcobucci lcobucci added this to the 2.6.5 milestone Oct 2, 2019
@lcobucci lcobucci dismissed stale reviews from greg0ire and SenseException via 66a0198 October 2, 2019 00:41
@lcobucci lcobucci self-assigned this Oct 2, 2019
@lcobucci lcobucci added the Bug label Oct 2, 2019
Copy link
Member

@lcobucci lcobucci left a 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.

@lcobucci lcobucci merged commit b63db53 into doctrine:2.6 Oct 2, 2019
@lcobucci
Copy link
Member

lcobucci commented Oct 2, 2019

@guillaume-a thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants