Skip to content

Commit

Permalink
Update phpcs.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
szatom authored Feb 27, 2024
1 parent eaf978a commit 79496b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions distfiles/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<!-- Set ignore extensions. -->
<!-- @see https://www.drupal.org/node/2867601#comment-12075633 -->
<arg name="ignore" value="*.css,*.md,*.txt,*.min.js"/>
<arg name="extensions" value="php,module,inc,profile,theme,install,js" />
<arg name="ignore" value="*.css,*.txt,*.js" />
<arg name="extensions" value="php,module,inc,profile,theme,install,yml,md" />

<!-- Use colors in output. -->
<arg name="colors"/>
Expand All @@ -28,6 +28,7 @@
</rule>

<file>web/modules/custom</file>
<file>web/themes/custom</file>
<file>tests</file>

<exclude-pattern>*/node_modules</exclude-pattern>
Expand All @@ -40,6 +41,6 @@
<exclude-pattern>*.ico</exclude-pattern>
<exclude-pattern>*/settings.php</exclude-pattern>
<exclude-pattern>*/*.settings.php</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>

</ruleset>

0 comments on commit 79496b8

Please sign in to comment.