Skip to content

Commit

Permalink
Allow short array syntax for WPCS 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Feb 14, 2024
1 parent 82ac13c commit 0d0ad7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Update unit tests for WordPress Coding Standards 3.0.1
* Prepare for PHP version 8.3
* Allow short array syntax for WPCS 3.0.1

### 9.3.6: 2024-01-10

Expand Down
2 changes: 2 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction" />
<exclude name="WordPress.PHP.DisallowShortTernary.Found" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />

<!-- Whitespace rules -->
<exclude name="WordPress.WhiteSpace.PrecisionAlignment.Found" />
<exclude name="WordPress.WhiteSpace.DisallowInlineTabs.NonIndentTabsUsed" />
<exclude name="Universal.WhiteSpace.PrecisionAlignment.Found" />

<!-- Project based -->
<exclude name="Squiz.PHP.CommentedOutCode.Found" />
Expand Down

0 comments on commit 0d0ad7c

Please sign in to comment.