<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
    ->in('src')
    ->in('functions')
;

$header = <<<EOT
This file is part of the AuthStack project.

(c) Buckhill Ltd <development@buckhill.co.uk>

This source file is subject to the Buckhill license that is bundled
with this source code in the file LICENSE.
EOT;

Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);

return Symfony\CS\Config\Config::create()
    ->setUsingCache(false)
    ->level('psr2')
    ->fixers(array('-empty_return', '-phpdoc_no_empty_return', 'header_comment'))
    ->finder($finder)
    ;