1 Star 0 Fork 119

ryvius_key/yii2_fecshop

forked from fecshop/yii2_fecshop 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.php_cs.dist 794 Bytes
一键复制 编辑 原始数据 按行查看 历史
<?php
$header = <<<'EOF'
FecShop file.
@link http://www.fecshop.com/
@copyright Copyright (c) 2016 FecShop Software LLC
@license http://www.fecshop.com/license/
EOF;
$finder = PhpCsFixer\Finder::create()
->in('./services')
->notName('MobileDetect.php')
;
$config = PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'align_multiline_comment' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'class_attributes_separation' => ['elements' => ['const', 'method', 'property']],
'header_comment' => ['header' => $header],
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
'single_line_comment_style' => true,
])
->setFinder($finder)
;
return $config;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/ryvius_key/yii2_fecshop.git
git@gitee.com:ryvius_key/yii2_fecshop.git
ryvius_key
yii2_fecshop
yii2_fecshop
master

搜索帮助