29 Star 263 Fork 51

GVPlouislivi / SMProxy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
phpcs.xml 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
louislivi 提交于 2018-11-24 17:02 . Change Log method naming
<?xml version="1.0"?>
<ruleset name="SMProxy">
<file>bin</file>
<file>src</file>
<arg name="basepath" value="."/>
<arg name="parallel" value="75"/>
<arg name="colors"/>
<arg value="np"/>
<rule ref="PSR1"/>
<rule ref="PSR2"/>
<rule ref="PSR12"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<!-- Private methods MUST not be prefixed with an underscore -->
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
<type>error</type>
</rule>
<!-- Private properties MUST not be prefixed with an underscore -->
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<type>error</type>
</rule>
<rule ref="Generic.Arrays.ArrayIndent"/>
<rule ref="Squiz.Arrays.ArrayDeclaration">
<exclude-pattern>config/*</exclude-pattern>
<exclude name="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.ValueNotAligned"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.CloseBraceNewLine"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"/>
<exclude name="Squiz.Arrays.ArrayDeclaration.ValueNoNewline"/>
</rule>
</ruleset>
PHP
1
https://gitee.com/louislivi/smproxy.git
git@gitee.com:louislivi/smproxy.git
louislivi
smproxy
SMProxy
master

搜索帮助