Metrics
0
Watch 167 Star 473 Fork 146

GVPjitamin / jitaminPHP

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

https://github.com/jitamin/jitamin

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 )

You need to Sign in for post a comment

Help Search