Earlier versions

master
Anton Smirnov 2021-09-29 02:35:41 +03:00
parent 23bfcd4daa
commit d3bce74a44
5 changed files with 35 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<!-- For the latest-ish version without temporary compatibility quirks. Currently 7.4 -->
<ruleset>
<rule ref="PSR12"/>
<rule ref="PHPCompatibility"/>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<ruleset>
<rule ref="SandFox.PHP71"/>
<config name="testVersion" value="7.0-"/>
</ruleset>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<ruleset>
<rule ref="SandFox.PHP72"/>
<config name="testVersion" value="7.1-"/>
</ruleset>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<ruleset>
<rule ref="SandFox.PHP73"/>
<config name="testVersion" value="7.2-"/>
</ruleset>

10
SandFox/PHP73/ruleset.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!--
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->
<ruleset>
<rule ref="SandFox.PHP74">
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>
</rule>
<config name="testVersion" value="7.3-"/>
</ruleset>