badoo/phpcf

Can I reindent code with phpcf?

Closed this issue · 1 comments

Hi, can i reindent code with phpcf?
Thank you very much for your attention!

@wowcut sure, phpcf not only check spaces inside language constructions, but also checks indentation level. But for now indentation parameters are hardcoded in src/impl/Formatter.php:

    private $indent_sequence = '    ';
    private $indent_width = 4; //length of indent_sequence