cakephp/upgrade — pull request #49 by dereuromark (2014-12-27 01:18:01+00:00)
Title: Correctly relocate files.

Start reworking the locations task.
Currently the false positives is causing quite the mess, especially since it does not properly take into account two different scenarios

- Cake2 app with APP=ROOT
- Cake2 app with APP=src

This change can now handle both types by using the passed folder argument as root if no specific `--root` is passed.

This is not quite finished and I would also want to add tests, but I also want to get some early feedback.

As sideeffect also now corrected:
- bin
- TestCase under tests (not Test)