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

Drop SymfonyStyle[listing] for sqls #9679

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Apr 25, 2022

This was super annoying as UpdateCommand printed sqls prefixed with * so it was not possible to copy statements anymore without manually removing those asterisks.

This removes prefixing sqls and makes it consistent with Create and Drop commands.

Also, semicolons at the end were missing.

image
image

This was super annoying as UpdateCommand printed sqls prefixed with `*` so it was not possible to copy statements anymore without manually removing those asterisks.

This removes prefixing sqls and makes it consistent with Create and Drop commands.
Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay to me. Not sure if this is really a bugfix though.

@derrabus derrabus added this to the 2.12.2 milestone Apr 26, 2022
@derrabus derrabus added the Bug label Apr 26, 2022
@simPod
Copy link
Contributor Author

simPod commented Apr 26, 2022

It broke in 2.12 (#9019) 🤷🏾

@derrabus
Copy link
Member

Indeed.

@derrabus derrabus merged commit 1dd2b44 into doctrine:2.12.x Apr 26, 2022
derrabus added a commit that referenced this pull request Apr 27, 2022
* 2.12.x:
  PHPStan 1.6.1 (#9688)
  Drop SymfonyStyle[listing] for sqls (#9679)
derrabus added a commit to derrabus/orm that referenced this pull request Apr 27, 2022
* 2.13.x:
  PHPStan 1.6.1 (doctrine#9688)
  Drop SymfonyStyle[listing] for sqls (doctrine#9679)
  Remove dynamic property declarations (doctrine#9683)
  PHPStan 1.6.0 (doctrine#9682)
  Validate XML mapping against XSD file
  Document ORM drivers only really load ORM metadata
  Fix HydrationException::invalidDiscriminatorValue parameter type (doctrine#9676)
  Fix type on ClassMetadata discriminatorMap (doctrine#9675)
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.

2 participants