Score
0
Watch 178 Star 528 Fork 165

GVPjitamin / jitaminPHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Jitamin是一款免费、开源,使用PHP语言开发的项目管理系统。QQ群:656868 spread retract

Clone or download
.php_cs 748 Bytes
Copy Edit Web IDE Raw Blame History
Guan Shiliang authored 2017-01-01 01:37 . Clean up
<?php
$header = <<<EOF
This file is part of Jitamin.
Copyright (C) Jitamin Team
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
$finder = Symfony\Component\Finder\Finder::create()
->files()
->in('app')
->in('bootstrap')
->in('config')
->in('database')
->in('tests')
->in('routes')
->in('public')
->name('*.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
$fixers = [
'header_comment',
];
return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers($fixers)
->finder($finder)
->setUsingCache(true);

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/jitamin/jitamin.git
git@gitee.com:jitamin/jitamin.git
jitamin
jitamin
jitamin
master

Help Search