Created
September 11, 2021 17:47
-
-
Save Parables/77428b5573406afb53847ffaaa1944da to your computer and use it in GitHub Desktop.
My custom version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<file>bootstrap</file> | |
<file>config</file> | |
<file>database</file> | |
<file>resources</file> | |
<file>routes</file> | |
<file>tests</file> | |
<!-- exclude our migrations directory from the violation check--> | |
<exclude-pattern>*/migrations/*</exclude-pattern> | |
<exclude-pattern>bootstrap/cache/*</exclude-pattern> | |
<exclude-pattern>bootstrap/autoload.php</exclude-pattern> | |
<exclude-pattern>*/seeds/*</exclude-pattern> | |
<exclude-pattern>*.blade.php</exclude-pattern> | |
<exclude-pattern>*.js</exclude-pattern> | |
<exclude-pattern>*/*.css</exclude-pattern> | |
<exclude-pattern>*/*.xml</exclude-pattern> | |
<exclude-pattern>*/storage/*</exclude-pattern> | |
<exclude-pattern>*/docs/*</exclude-pattern> | |
<exclude-pattern>*/vendor/*</exclude-pattern> | |
<exclude-pattern>*/cache/*</exclude-pattern> | |
<!-- Show progression --> | |
<arg value="p"/> | |
<!-- ignore warnings and display ERRORS only --> | |
<arg value="np" /> | |
<!-- Our base rule: set to PSR12--> | |
<rule ref="PSR12" /> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment