mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 12:14:54 +02:00
19 lines
479 B
PHP
19 lines
479 B
PHP
<?php
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude('vendor')
|
|
->in(__DIR__)
|
|
;
|
|
return (new PhpCsFixer\Config())
|
|
->setRules([
|
|
'@PSR12' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'braces_position' => [
|
|
'functions_opening_brace' => 'same_line',
|
|
'anonymous_functions_opening_brace' => 'same_line',
|
|
'classes_opening_brace' => 'same_line',
|
|
],
|
|
'binary_operator_spaces' => ['operators' => ['=>' => 'align']],
|
|
])
|
|
->setIndent("\t")
|
|
->setFinder($finder)
|
|
;
|