1 Star 0 Fork 268

航特咨询/jitamin

forked from jitamin/jitamin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.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);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/shine_share/jitamin.git
git@gitee.com:shine_share/jitamin.git
shine_share
jitamin
jitamin
master

搜索帮助