streams/vendor/guzzlehttp/guzzle/.php_cs

24 lines
645 B
Text
Raw Normal View History

2019-11-08 03:12:56 +00:00
<?php
$config = PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'declare_strict_types' => false,
'concat_space' => ['spacing'=>'one'],
2019-12-30 04:28:55 +00:00
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
'ordered_imports' => true,
2019-11-08 03:12:56 +00:00
// 'phpdoc_align' => ['align'=>'vertical'],
// 'native_function_invocation' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
2019-12-30 04:28:55 +00:00
->in(__DIR__.'/tests')
2019-11-08 03:12:56 +00:00
->name('*.php')
)
;
return $config;