Skip to content

Commit

Permalink
Create phpcs.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKex authored Dec 4, 2022
1 parent cec211f commit f5c02a7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0"?>

<ruleset name="PHP_CodeSniffer">

<description>PHPCS configuration file.</description>
<!-- check all files in the app directory, feel free to add more files with:
<file>FOLDER NAME</file>
-->
<file>app</file>

<!-- exclude our migrations directory from the violation check-->
<exclude-pattern>*/migrations/*</exclude-pattern>

<!-- ignore warnings and display ERRORS only -->
<arg value="np"/>

<rule ref="PSR1"/>

<rule ref="PSR12"/>

</ruleset>

0 comments on commit f5c02a7

Please sign in to comment.