Skip to content

norbe/AutoUse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoUSE is tool for analyse source code and automatic insertion of USE statements. 

Why use AutoUse?
 - switch to namespace version of library
 - verification, that you don't forgotten any use statement for used class (for example in catch block)

Features:
 - insert USE statements
 - detect undefined classes
 - detect unused USE statement

Known bugs / bad features:
 - consume lot of time (700+ seconds for project written in Nette Framework)
 - it supposed, that every USE statements in source files is on one line, in other cases, it can produce code like this:
/---
 use ClassA, 
 use Namespace\IntertedClassName;
   ClassB;
\---


Configuration of tool (input source and libs directories) can be done in app/config.ini

About

Automatic insertion of USE statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published