-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
New Symfony 2.8 change: form field types are class names #623
Comments
same on Doctrine |
@Haehnchen Oh yea, good point about Doctrine getRepository! Thanks! |
@Haehnchen This change also seems to break the form type options autocompletion. |
…pports constants and property string values; cleanup some unused form code
completion done. also added intention and generator for migration |
Wow, you rock: I'll be very interested to show people the migration aspect. Thanks! |
migration and many other stuff is useless because of #651 :) |
Sorry to open an older ticket, but the same is the case for other sitations:
|
I'm +1 for @hoshsadiq question. @Haehnchen any news about this one? |
Aah damn, I was meant to raise a new issue with that as this one is closed. Totally forgot. |
Hi there!
I <3 this plugin, and I usually if something isn't up to date, it suddenly is a few days later!
For Symfony 2.8, the form types have changed from being a string (e.g.
text
) to being a full class name:In PhpStorm itself, the only unfortunate thing is that typing
TextType
does not bring up theTextType
class as an auto-complete suggestion, because it has no static methods/constants/properties. So, you need to typeTextType::class
, and then go back and "Import class" to add theuse
statement. Ideally - if this is possible - it would auto-complete known classes that implementFormTypeInterface
in the project.If I can help with this, I'd be happy to assist.
Thanks!
The text was updated successfully, but these errors were encountered: