Skip to content

Commit

Permalink
feat(rule): space before and after operator (#61)
Browse files Browse the repository at this point in the history
feat(rule): space before and after operator
  • Loading branch information
z3niths authored Jun 7, 2019
2 parents 371d21e + ed89fb5 commit bf1a92a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CrazyFactory/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing" >
<properties>
<property name="ignoreNewlines" value="true" />
</properties>
</rule>

<!-- Disallow some function like var_dump -->
<rule ref="Generic.PHP.ForbiddenFunctions">
Expand Down

0 comments on commit bf1a92a

Please sign in to comment.