Watch Star Fork

jitamin / jitaminPHPGVP

Jitamin是一款免费、开源,使用PHP语言开发的项目管理系统。QQ群:656868 http://jitamin.com
克隆/下载
一键复制 编辑 原始数据 按行查看 历史
.php_cs 748 Bytes Guan Shiliang 提交于 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);

评论 ( 0 )

你可以在登录后,对此项目发表评论

6_float_left_people 6_float_left_close