Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Support namespaces #41

Open
kdambekalns opened this issue Jan 27, 2012 · 2 comments
Open

Support namespaces #41

kdambekalns opened this issue Jan 27, 2012 · 2 comments

Comments

@kdambekalns
Copy link
Contributor

When working with a namespaced codebase, the tool is of limited use. Here are some examples:

Renaming Exception to RenamedException changes too much (i.e. all Exception classes, but not all that's needed, so that class Exception extends \TYPO3\Fluid\Core\Exception becomes class RenamedException extends \TYPO3\Fluid\Core\Exception.

Using fully qualified class names matches only uses in docblocks, it seems. At least fully qualified use in code is left unchanged.

What should happen, is that renaming Some\Namespaced\Class to Some\Namespaced\DifferentName should just work. :)

@iangreenleaf
Copy link
Owner

Agree, this would be very nice. Unfortunately, I'm not putting a lot of time into Scisr development at this point. I'd definitely accept a pull request, though :)

@kdambekalns
Copy link
Contributor Author

I whipped up some tests already and am currently looking into how Scisr actually works on the inside.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants