Skip to content

Commit

Permalink
Disable phpcs rule for brackets and phpstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Aug 31, 2024
1 parent cae1001 commit 8b99c43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
</rule>

<rule ref="PEAR">
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"/>
</rule>

<rule ref="Squiz.PHP">
<exclude name="Squiz.PHP.CommentedOutCode.Found"/>
<exclude name="Squiz.PHP.GlobalKeyword.NotAllowed"/>
Expand Down
4 changes: 2 additions & 2 deletions src/Pods/Blocks/Types/Base.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b99c43

Please sign in to comment.