Skip to content

Instantly share code, notes, and snippets.

@bordeux
Created April 17, 2019 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bordeux/b662c571f525babf0b6b3f276fbd6318 to your computer and use it in GitHub Desktop.
Save bordeux/b662c571f525babf0b6b3f276fbd6318 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<ruleset name="TourRadar">
<rule ref="PSR1" />
<rule ref="PSR2" />
<rule ref="PSR12" />
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,print=>null,echo=>null,is_null=>null,create_function=>null,var_dump=>null,eval=>null"/>
</properties>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="250"/>
<property name="tab_width" value="4"/>
</properties>
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
<type>error</type>
</rule>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment