Created
October 27, 2019 10:27
-
-
Save ulcuber/e4ad20e24e0282b48e870bc54a9c592c to your computer and use it in GitHub Desktop.
PSR12 laravel phpcs config
This file contains hidden or 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="Laravel Standards"> | |
<description>The Laravel Coding Standards</description> | |
<file>app</file> | |
<file>config</file> | |
<file>resources</file> | |
<file>routes</file> | |
<file>tests</file> | |
<exclude-pattern>*/database/*</exclude-pattern> | |
<exclude-pattern>*/cache/*</exclude-pattern> | |
<exclude-pattern>*/lang/*</exclude-pattern> | |
<exclude-pattern>*/*.js</exclude-pattern> | |
<exclude-pattern>*/*.css</exclude-pattern> | |
<exclude-pattern>*/*.xml</exclude-pattern> | |
<exclude-pattern>*/*.blade.php</exclude-pattern> | |
<exclude-pattern>*/autoload.php</exclude-pattern> | |
<exclude-pattern>*/storage/*</exclude-pattern> | |
<exclude-pattern>*/docs/*</exclude-pattern> | |
<exclude-pattern>*/vendor/*</exclude-pattern> | |
<exclude-pattern>*/migrations/*</exclude-pattern> | |
<arg name="report" value="summary"/> | |
<arg name="colors"/> | |
<arg value="p"/> | |
<ini name="memory_limit" value="128M"/> | |
<rule ref="PSR12"> | |
<exclude name="PSR12.Files.FileHeader.SpacingInsideBlock"/> | |
</rule> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment