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:
peptiderepo
2026-04-12 17:23:52 +07:00
parent 91587a4573
commit dde399930c

View File

@@ -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 -->