1 Star 0 Fork 644

yirenji / MeEdu

forked from 白书科技 / MeEdu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.php_cs 806 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
$header = <<<EOF
This file is part of the Qsnh/meedu.
(c) XiaoTeng <616896861@qq.com>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'header_comment' => ['header' => $header],
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => [
'sort_algorithm' => 'length',
],
'no_useless_else' => true,
'no_useless_return' => true,
'yoda_style' => false,
'not_operator_with_successor_space' => true,
'increment_style' => ['style' => 'post'],
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__ . '/app')
);
PHP
1
https://gitee.com/thinkphpbox/MeEdu.git
git@gitee.com:thinkphpbox/MeEdu.git
thinkphpbox
MeEdu
MeEdu
master

搜索帮助