32 Star 217 Fork 63

Thans / layuiAdmin

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.php_cs 697 Bytes
Copy Edit Web IDE Raw Blame History
Thans authored 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__)
)
;

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/thans/layuiAdmin.git
git@gitee.com:thans/layuiAdmin.git
thans
layuiAdmin
layuiAdmin
master

Search