Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ engines:
enabled: false
Squiz.WhiteSpace.MemberVarSpacing.Incorrect:
enabled: false
# Disable WordPress-specific escaping rules for CLI application
WordPress.Security.EscapeOutput.OutputNotEscaped:
enabled: false
WordPress.XSS.EscapeOutput.OutputNotEscaped:
enabled: false
exclude_paths:
- 'vendor/**'
- 'tests/**'
8 changes: 8 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,12 @@
<property name="absoluteLineLimit" value="250"/>
</properties>
</rule>

<!-- Disable overly strict PHPDoc spacing alignment rules -->
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterParamType">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterParamName">
<severity>0</severity>
</rule>
</ruleset>
Loading