researchgate / phpnsc

Small tool to check for missing use statements when using PHP namespaces
MIT License
43 stars 4 forks source link

Correctly detect aliases #3

Closed danez closed 10 years ago

danez commented 10 years ago

If for a simple classname no namespace is found also check if it may be an alias. Set $aliasName always to the simpleName, as also a classname may be an alias. Removed check if alias set as it is now always set

This should also fix #2