<?php

$finder = PhpCsFixer\Finder::create()
    ->exclude('tests')
    ->in(__DIR__)
;

$config = PhpCsFixer\Config::create();
$config
    ->setRules([
        '@PSR2'        => true,
        'array_syntax' => [
            'syntax'    => 'short',
        ],
    ])
    ->setFinder($finder)
;

return $config;
