1 Star 0 Fork 116

zhouao / layuiAdmin

forked from Thans / layuiAdmin
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.php_cs 697 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Thans 提交于 2018-12-25 19:48 . init
<?php
$header = <<<EOF
This file is part of the thans/layui-admin.
(c) Thans <thans@thans.cn>
This source file is subject to the Apache2.0 license that is bundled.
EOF;
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules(array(
'@PSR2' => true,
'header_comment' => array('header' => $header),
'array_syntax' => array('syntax' => 'short'),
'ordered_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'php_unit_construct' => true,
'php_unit_strict' => true,
))
->setFinder(
PhpCsFixer\Finder::create()
->exclude('vendor')
->in(__DIR__)
)
;
PHP
1
https://gitee.com/zhouao/layuiAdmin.git
git@gitee.com:zhouao/layuiAdmin.git
zhouao
layuiAdmin
layuiAdmin
master

搜索帮助

14c37bed 8189591 565d56ea 8189591