mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-11-16 08:30:45 +00:00
26 lines
629 B
PHP
26 lines
629 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov)
|
||
|
*
|
||
|
* This code is licensed under MIT.
|
||
|
* Этот код распространяется по лицензии MIT.
|
||
|
* https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
|
||
|
*/
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
$finder = PhpCsFixer\Finder::create()
|
||
|
->in(__DIR__)
|
||
|
->exclude('docs')
|
||
|
->notPath('test.php');
|
||
|
|
||
|
return (new PhpCsFixer\Config())
|
||
|
->setFinder($finder)
|
||
|
->setIndent(' ')
|
||
|
->setRules([
|
||
|
'@PSR12' => true,
|
||
|
'array_syntax' => ['syntax' => 'short'],
|
||
|
'group_to_single_imports' => false,
|
||
|
]);
|