1 Star 0 Fork 6

genee/phpems

forked from 哎哟喂/phpems 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.php_cs 742 Bytes
一键复制 编辑 原始数据 按行查看 历史
哎哟喂 提交于 2020-09-22 11:19 . 新增OSS配置,修正阅卷问题
<?php
$header = <<<EOF
This file is part of the phpems/phpems.
(c) oiuv <i@oiuv.cn>
项目维护:oiuv(QQ:7300637) | 定制服务:火眼(QQ:278768688)
This source file is subject to the MIT license that is bundled.
EOF;
$finder = PhpCsFixer\Finder::create()
->exclude(['vendor', 'data', 'files'])
->in(__DIR__)
;
$config = PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'header_comment' => ['header' => $header],
'binary_operator_spaces' => ['operators' => ['=>' => 'align']],
'trailing_comma_in_multiline_array' => true,
// 'no_useless_else' => true,
// 'no_useless_return' => true,
])
->setFinder($finder)
;
return $config;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/genee_liu/phpems.git
git@gitee.com:genee_liu/phpems.git
genee_liu
phpems
phpems
master

搜索帮助