1 Star 0 Fork 61

祀画 / imi

forked from 宇润 / imi 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.php_cs.dist 1.23 KB
Copy Edit Web IDE Raw Blame History
宇润 authored 2020-10-25 20:12 . 补充缺少的文件
<?php
if (!file_exists(__DIR__ . '/src'))
{
exit(0);
}
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
'array_syntax' => ['syntax' => 'short'],
'array_indentation' => true,
'binary_operator_spaces' => [
'operators' => [
'=>' => 'align_single_space',
],
],
'concat_space' => [
'spacing' => 'one',
],
'fopen_flags' => false,
'protected_to_private' => false,
'native_constant_invocation' => true,
'combine_nested_dirname' => true,
'single_quote' => true,
'braces' => [
'position_after_control_structures' => 'next',
],
'no_superfluous_phpdoc_tags' => false,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->exclude(__DIR__ . '/vendor')
->in(__DIR__ . '/src')
->in(__DIR__ . '/config')
->in(__DIR__ . '/tests')
->append([__FILE__])
)
;
PHP
1
https://gitee.com/135781/IMI.git
git@gitee.com:135781/IMI.git
135781
IMI
imi
dev

Search