Watch Star Fork

GVPjitamin / jitaminPHP

加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
Jitamin是一款免费、开源,使用PHP语言开发的项目管理系统。QQ群:656868 https://github.com/jitamin/jitamin
一键复制 编辑 原始数据 按行查看 历史
.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 )

你可以在登录后,发表评论

搜索帮助