As you work on a big project, you often face the need to refactor your code to maintain it properly. Likewise, there are many situations when you start to add functionality from the bottom of the class hierarchy and then realize it can be also used in more common cases (otherwise some parts of your code may become obsolete for the parent class but still be valid for one of its children).
To fix this, you copy a method or field from one class, paste it into another and fix internal references in the member. This isn't so difficult, yet rather annoying if done over and over.
With PhpStorm,