Created
September 10, 2021 20:06
-
-
Save naaando/8a033954a7ee83c6b559a01d6c7983d7 to your computer and use it in GitHub Desktop.
phpcs.xml
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="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>src</file> | |
<!-- exclude our migrations directory from the violation check--> | |
<exclude-pattern>*/migrations/*</exclude-pattern> | |
<!-- ignore warnings and display ERRORS only --> | |
<arg value="np"/> | |
<!-- Our base rule: set to PSR12--> | |
<rule ref="PSR12"/> | |
<rule ref="Generic.Files.LineLength"> | |
<properties> | |
<property name="lineLimit" value="180"/> | |
</properties> | |
</rule> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment