You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
869 B
26 lines
869 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ruleset name="php-telegram-bot-example-bot-ruleset">
|
|
<description>PHP Code Sniffer</description>
|
|
|
|
<arg value="snp"/>
|
|
<arg name="colors"/>
|
|
<arg name="parallel" value="8"/>
|
|
<arg name="encoding" value="utf-8"/>
|
|
<arg name="report-width" value="150"/>
|
|
<arg name="extensions" value="php"/>
|
|
|
|
<file>.</file>
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
|
|
<rule ref="PSR12"/>
|
|
|
|
<rule ref="Generic.CodeAnalysis.EmptyStatement">
|
|
<!-- Allow empty statements for explanation comments -->
|
|
<exclude name="Generic.CodeAnalysis.EmptyStatement"/>
|
|
</rule>
|
|
|
|
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing">
|
|
<!-- Allow the empty line to improve readability -->
|
|
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose"/>
|
|
</rule>
|
|
</ruleset>
|