Thanks to visit codestin.com
Credit goes to github.com

Skip to content

#7763 escape quotes in field comments#7764

Merged
lcobucci merged 1 commit into
doctrine:2.6from
guillaume-a:7763
Oct 2, 2019
Merged

#7763 escape quotes in field comments#7764
lcobucci merged 1 commit into
doctrine:2.6from
guillaume-a:7763

Conversation

@guillaume-a
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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