Skip to content

Commit

Permalink
add PHP_CodeSniffer config #4
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Oct 12, 2023
1 parent 1261101 commit 07bea16
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset name="PSR12" namespace="GregorJ\Standards">
<description>PSR12 programming standard</description>
<!-- display progress -->
<arg value="p"/>
<arg value="n"/>
<!-- directories and files to check -->
<file>./src</file>
<file>./tests</file>
<!-- Use PSR12 as a standard -->
<rule ref="PSR12">
</rule>
</ruleset>

0 comments on commit 07bea16

Please sign in to comment.