Update service classes when renaming a class through PhpStorm refactorings
The service definitions are detected as usages of the class currently. It would be great if refactorings could handle service definitions too
+1, that's one of the features I really miss
+1
Would be great if u could implement that feature. In my daily work, I often rename classes/namespaces ;)
Hi, is this issue still valid? I suppose it is as refactoring a class name doesn't work for me but on the other hand it could be some misconfiguration on my side. IMO not having this feature is a very bad DX when using Yaml for container configuration but I also wonder if this might be just my subjective opinion, as this issue is 10 years old so maybe other Symfony devs don't care 😄
Btw. Should this feature replace every occurence of a FQCN in Yaml (e.g. service id) or only the class key?
@stof The service definitions are detected as usages of the class currently.
They are? When I use "Find usage" on a class it doesn't find anything in yaml files, even with "Text occurences" checked.