1 Star 0 Fork 0

阿债 / code-refactor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.php_cs 908 Bytes
一键复制 编辑 原始数据 按行查看 历史
阿债 提交于 2018-03-13 19:22 . 修复TraitUse和美化数组输出
<?php
if (function_exists('xdebug_disable')) {
xdebug_disable();
}
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@PHP56Migration:risky' => true,
'@PHPUnit57Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'declare_strict_types' => false,
])
->setFinder(PhpCsFixer\Finder::create()
->exclude('adminer.php')
->exclude('application/logs')
->exclude('vendor')
->in(__DIR__)
)
;
/*
This document has been generated with
https://mlocati.github.io/php-cs-fixer-configurator/
you can change this configuration by importing this YAML code:
fixerSets:
- '@PSR1'
- '@PSR2'
- '@PHP56Migration:risky'
- '@PHPUnit57Migration:risky'
risky: true
fixers:
array_syntax:
syntax: short
declare_strict_types: false
*/
1
https://gitee.com/azhai/code-refactor.git
git@gitee.com:azhai/code-refactor.git
azhai
code-refactor
code-refactor
master

搜索帮助