Skip to content

Commit

Permalink
More PHPCS (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex authored Sep 21, 2024
1 parent e041dac commit 5e92ce7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<rule ref="PSR12">
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.CloseParenthesisLine"/>
<exclude name="PSR12.ControlStructures.ControlStructureSpacing.FirstExpressionLine"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace"/>
</rule>
Expand All @@ -16,4 +17,13 @@
<property name="absoluteLineLimit" value="400"/>
</properties>
</rule>
<rule ref="Generic.WhiteSpace.DisallowTabIndent.TabsUsed">
<exclude-pattern>./demo/</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>./library/</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>./library/</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 5e92ce7

Please sign in to comment.