Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
.php_cs 534 Bytes
Copy Edit Raw Blame History
Francesco Danti authored 2021-01-08 09:05 . Run Cs-Fixer
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/lib')
->in(__DIR__.'/test')
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@Symfony' => true,
'array_syntax' => [
'syntax' => 'short'
],
'phpdoc_order' => true,
'ordered_imports' => true,
'method_argument_space' => [
'on_multiline' => 'ensure_fully_multiline',
]
])
->setUsingCache(false)
->setFinder($finder)
;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化