mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 08:15:18 +00:00
22 lines
536 B
Text
22 lines
536 B
Text
|
<?php
|
||
|
|
||
|
$config = PhpCsFixer\Config::create()
|
||
|
->setRiskyAllowed(true)
|
||
|
->setRules([
|
||
|
'@PSR2' => true,
|
||
|
'array_syntax' => ['syntax' => 'short'],
|
||
|
'declare_strict_types' => false,
|
||
|
'concat_space' => ['spacing'=>'one'],
|
||
|
// 'ordered_imports' => true,
|
||
|
// 'phpdoc_align' => ['align'=>'vertical'],
|
||
|
// 'native_function_invocation' => true,
|
||
|
])
|
||
|
->setFinder(
|
||
|
PhpCsFixer\Finder::create()
|
||
|
->in(__DIR__.'/src')
|
||
|
->name('*.php')
|
||
|
)
|
||
|
;
|
||
|
|
||
|
return $config;
|