Skip to content

Commit

Permalink
Removed obsolete PHPCS configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Nov 18, 2024
1 parent 60d474e commit ce43f01
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
<!-- Lint code against platform version specified in composer.json key "config.platform.php". -->
<config name="testVersion" value="8.3"/>

<!-- Exclude CircleCI config files. -->
<exclude-pattern>circle\.yml</exclude-pattern>
<exclude-pattern>\.circle\/config\.yml</exclude-pattern>

<!-- Exclude theme assets. -->
<exclude-pattern>web\/themes\/custom\/.*\/build\/.*</exclude-pattern>
<exclude-pattern>web\/themes\/custom\/.*\/fonts\/.*</exclude-pattern>
Expand All @@ -48,21 +44,14 @@
<type>warning</type>
</rule>

<!-- Allow incorrectly sorted namespaces in tests. -->
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses">
<exclude-pattern>*.Test\.php</exclude-pattern>
<exclude-pattern>*.TestCase\.php</exclude-pattern>
<exclude-pattern>*.test</exclude-pattern>
</rule>

<!-- Allow long array lines in tests. -->
<rule ref="Drupal.Arrays.Array.LongLineDeclaration">
<exclude-pattern>*.Test\.php</exclude-pattern>
<exclude-pattern>*.TestCase\.php</exclude-pattern>
<exclude-pattern>*.test</exclude-pattern>
</rule>

<!-- Ignore Prefixing class names with project name in module behat tests. -->
<!-- Ignore prefixing of class names with project name in Behat tests. -->
<rule ref="DrupalPractice.General.ClassName.ClassPrefix">
<exclude-pattern>*\/tests\/behat\/bootstrap/*\.php</exclude-pattern>
</rule>
Expand Down

1 comment on commit ce43f01

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.