flow3:cache:flush should care about the .Shortcuts state
Currently, after renaming a package path (name; from
flow3:cache:flush resulted in an error a class couldn't be found (naming the correct, new namespace).
So, for example, the old namespace was
while the new one, after renaming, is
(located in Packages/Application/Acme.Foo/Classes/....); and the corresponding error message was
Class Acme\Foo\ViewHelpers\BarViewHelper could not be found
which means, he correctly looked for the new, actually intended one; but didn't have the file available.
The reason was that .Shortcuts didn't contain that (new) package path's representation.
IRC suggestion was to remove .Shortcuts completely, in order to get it rebuilt from scratch, when calling