-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
Auto generated migration doesnt valid for PSR12 #1119
Comments
You can provide a custom template, that follows any coding standard you want. See
|
No. Target of this PR will change default behavior. |
Related: doctrine/coding-standard#163 and ef842cf |
@kirya-dev I also came across this. Any new updates on this issue? Also there is already open PR: #875 related to this issue. Also, @guilliamxavier I don't see that doctrine/coding-standard#163 fixed this particular issue or am I missing something. |
@jtrupina: I didn't say "fixed"; to be clear: doctrine/coding-standard#163 updated the Doctrine CS rule for return type declarations from "1 space before colon" (historical Doctrine style) to "no space before colon" (PSR-12), and later #1102 (more precisely 53a5da0 and ef842cf) upgraded and applied the new CS to this lib (code), but left out the template (string). Thanks for mentioning #875, you're right 🙂 the thing is it was created before doctrine/coding-standard#163 so was put on hold, and seems to have been forgotten afterwards... I'll ping it 😉 |
I think we can close this, it will be fixed in the next 3.1.x release :) |
Bug Report
Auto generated migration doesnt valid for PSR12
The text was updated successfully, but these errors were encountered: