Skip to content

Commit

Permalink
Create phpcs.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatosbc authored Dec 2, 2024
1 parent b059778 commit f8746ef
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<ruleset name="Custom PHPCS Configuration">
<description>PHP_CodeSniffer configuration for PHP 8.2+</description>

<!-- Paths to include or exclude from the analysis -->
<file>./src</file>
<exclude-pattern>./vendor</exclude-pattern>

<!-- Define the coding standard -->
<rule ref="PSR12">
<!-- Customizations -->
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
<exclude name="Generic.WhiteSpace.ScopeIndent"/>
</rule>
</ruleset>

0 comments on commit f8746ef

Please sign in to comment.