fix: remove non-existent CommaAfterArrayItem sniff from PHPCS config
WordPress.Arrays.CommaAfterArrayItem does not exist in WPCS 3.x, causing PHPCS to exit with code 3 (configuration error). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
<exclude name="WordPress.WhiteSpace.OperatorSpacing"/>
|
||||
<exclude name="Universal.WhiteSpace.PrecisionAlignment"/>
|
||||
<exclude name="Squiz.Strings.DoubleQuoteUsage"/>
|
||||
<exclude name="WordPress.Arrays.CommaAfterArrayItem"/>
|
||||
</rule>
|
||||
|
||||
<!-- Downgrade structural rules that fire on pre-existing patterns -->
|
||||
|
||||
Reference in New Issue
Block a user