mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 10:03:27 +01:00
22 lines
536 B
PHP
22 lines
536 B
PHP
<?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;
|