Skip to content

Commit

Permalink
Up phphcs sniffs (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Sep 30, 2024
1 parent 6438a0a commit 1a469f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<?xml version="1.0"?>
<ruleset name="frontkom_as">
<arg name="encoding" value="utf-8"/>
<file>./src</file>
<file>./tests</file>
<rule ref="./vendor/squizlabs/php_codesniffer/src/Standards/PSR2"/>
<rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
<rule ref="SlevomatCodingStandard.PHP.ShortList"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
<type>warning</type>
</rule>
</ruleset>

0 comments on commit 1a469f5

Please sign in to comment.