renaming namespaces #9103
Unanswered
prescriptionlifeline
asked this question in
Q&A
Replies: 1 comment 2 replies
-
We had such a rule, but it would require moving classes themselves to new paths. That's a spot, that missed classes here and there and miss-renamed files, as dependend on PHPStorm handles this with 1 click. Use it or your IDE instead 👍 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I had a namespace like
\CompanyName\Product\Whatever
and I wanted to rename it to\NewCompanyName\Product\Whatever
. How would I do that?None of the results returned by either https://getrector.com/find-rule?query=rename or https://getrector.com/find-rule?query=namespace look super useful in that regard.
Beta Was this translation helpful? Give feedback.
All reactions