1 Star 0 Fork 663

skymysky/MeEdu

forked from 白书科技/MeEdu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.php_cs 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Xiaoteng 提交于 2019-05-17 18:22 . fixed:styleci
<?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')
);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/skymysky/MeEdu.git
git@gitee.com:skymysky/MeEdu.git
skymysky
MeEdu
MeEdu
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385