<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
    ->in(__DIR__)
    ->exclude('plugins/CKEditorPlugin')
;

return Symfony\CS\Config\Config::create()
    ->setUsingCache(true)
    ->fixers(array(
        'symfony',
        'psr0', 'psr1','psr2',
         'encoding', 'braces', 'elseif', 'space', 'function_declaration', 'indentation', 'line_after_namespace',
        'linefeed', 'lowercase_constants', 'lowercase_keywords', 'method_argument_space', 'multiple_use', 'parenthesis', 'php_closing_tag',
        'single_line_after_imports', 'trailing_spaces', 'visibility',
        '-concat_without_spaces'
    ))
    ->finder($finder)
;
