<?php

return PhpCsFixer\Config::create()
    ->setRiskyAllowed(true)
    ->setRules([
        '@PHP56Migration:risky' => true,
        '@PHPUnit57Migration:risky' => true,
        '@PSR2' => true,
        'array_syntax' => ['syntax' => 'short'],
        'blank_line_after_opening_tag' => true,
        'class_attributes_separation' => [
            'elements' => ['method'],
        ],
        'linebreak_after_opening_tag' => true,
        'native_function_invocation' => true,
    ])
;
