Open giwrgos88 opened 8 years ago
Hi @giwrgos88 did you find a way to solve it?
@rodrigocnascimento not yet
try these in your phpfmt.sublime.config
"format_on_save": false,
"passes":
[
"OnlyOrderUseClauses"
],
or just ctrl+shift+p and try enable/disable additional transformations
I have created a class which binds dynamically interfaces and classes from an array. Instead of adding the class namespace in the array e.g
$classes =['\Test\Model\Test'];
I want to add it as use on the top of the file.
When I'm saving the file phpftm formats the code and removes the use because it can't detect that the class that I have mentioned on the top is the one on the array. Is there anyway to disable this features so that the phpftm doesn't removes classes which are not mentioned in the file?