refactoring variables in phpstorm, removing unused libs