Skip to content

Commit

Permalink
exclude line length rule from phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jun 5, 2024
1 parent 521691f commit 2d02f1f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<rule ref="PSR12" /> <!-- ruleset standard -->
<rule ref="Generic.Files.LineLength"> <!-- rule to override -->
<properties>
<property name="lineLimit" value="170"/> <!-- maximum line length -->
</properties>
<rule ref="PSR12"> <!-- ruleset standard -->
<exclude name="Generic.Files.LineLength"/>
</rule>
<file>./</file> <!-- directory you want to analyze -->
<exclude-pattern>/vendor/</exclude-pattern>
Expand Down

0 comments on commit 2d02f1f

Please sign in to comment.