4 Star 3 Fork 1

Gitee 极速下载/CodeIgniter4

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/codeigniter4/CodeIgniter4
克隆/下载
.php-cs-fixer.user-guide.php 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
John Paul E. Balandan, CPA 提交于 2024-07-09 12:58 . Depend on main config
<?php
declare(strict_types=1);
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\Finder;
/** @var ConfigInterface $config */
$config = require __DIR__ . '/.php-cs-fixer.dist.php';
$finder = Finder::create()
->files()
->in([
__DIR__ . '/user_guide_src/source',
])
->notPath([
'ci3sample/',
'database/query_builder/075.php',
'libraries/sessions/016.php',
'outgoing/response/031.php',
'outgoing/response/032.php',
]);
$overrides = [
'echo_tag_syntax' => false,
'header_comment' => false,
'php_unit_internal_class' => false,
'no_unused_imports' => false,
'class_attributes_separation' => false,
'fully_qualified_strict_types' => [
'import_symbols' => false,
'leading_backslash_in_global_namespace' => true,
],
];
return $config
->setFinder($finder)
->setCacheFile('build/.php-cs-fixer.user-guide.cache')
->setRules(array_merge($config->getRules(), $overrides));
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mirrors/CodeIgniter4.git
[email protected]:mirrors/CodeIgniter4.git
mirrors
CodeIgniter4
CodeIgniter4
develop

搜索帮助