Skip to content

Commit

Permalink
Issue #1: Update ruleset for consistency and ease-of-use.
Browse files Browse the repository at this point in the history
  • Loading branch information
BWPanda authored and BWPanda committed Feb 27, 2023
1 parent a588dc2 commit c5a3672
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Backdrop/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?xml version="1.0"?>
<ruleset name="Backdrop">
<description>BETA: Coding standard for Backdrop CMS.</description>
<description>Coding standard for Backdrop CMS.</description>
<arg name="extensions" value="php,inc,module,install,profile,engine,test"/>
<arg name="colors"/>
<arg name="encoding" value="utf-8"/>
<!-- This cli arg is only relevant for phpcbf. -->
<arg name="tab-width" value="2"/>


<!-- Exclude certain files/directories. -->
<exclude-pattern>*/.git/*</exclude-pattern>

<!-- Pick some of the Generic ruleset. -->
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.Classes.OpeningBraceSameLine"/>
Expand Down

0 comments on commit c5a3672

Please sign in to comment.