Haehnchen / idea-php-annotation-plugin

Add PHP annotation support for PhpStorm and IntelliJ
https://plugins.jetbrains.com/plugin/7320
MIT License
251 stars 41 forks source link

Symfony Doctrine - Decision between Annotation and Attribute could be better #260

Closed ThePatzen closed 3 months ago

ThePatzen commented 1 year ago

Hi!

In Symfony there is a config file in /config/packages/doctrine.yml. There you can find, if the Entity uses Attribute or Annations.

In this Config - File you can find al the needed Informations: image

Maybe this would be a awesome feature. Becaus of upgrading old Projects to php8 does no need to migrate Annotations to Attributes in the first period!

Would be awesome if you could implement this behaviour!

Thanks for your good work!

Best Regards, David

Haehnchen commented 1 year ago

its not easy to resolve / find this values without much effort there. now there is an additional check to use the parent namespace for scoping existing classes.

that's what i was think from the beginning, but missed somehow to push the implemention for latest plugin updates ;)