fabpot/PHP-CS-Fixer — pull request #198 by ridcully (2013-04-17 12:52:53+00:00)
Title: Added possibility to define custom fixers by the configuration class

This address Issue https://github.com/fabpot/PHP-CS-Fixer/issues/186. You can define add a custom fixer to the config class:

in(__DIR__);

$config = Symfony\CS\Config\Config::create()
->fixers(array(
'linefeed',
'trailing_spaces',
'php_closing_tag',
'controls_spaces',
'use_tabs'))
->finder($finder);

$config->addCustomFixer(new UseTabsFixer());

return $config;