Skip to content

Commit

Permalink
Merge pull request #763 from westonruter/dependabot/composer/wp-codin…
Browse files Browse the repository at this point in the history
…g-standards/wpcs-3.0.1

Bump wp-coding-standards/wpcs from 2.3.0 to 3.0.1
  • Loading branch information
westonruter authored Oct 27, 2023
2 parents 70f1851 + f12204c commit 744fa68
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
<ruleset name="WordPress Coding Standards for Syntax-highlighting Code Block">

<rule ref="WordPress-Core">
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />

<!-- Remove once https://github.com/squizlabs/PHP_CodeSniffer/issues/3745 is fixed. -->
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed" />
</rule>
<rule ref="WordPress-Docs">
<!--
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
"phpcompatibility/php-compatibility": "9.3.5",
"szepeviktor/phpstan-wordpress": "1.3.2",
"wp-coding-standards/wpcs": "2.3.0"
"wp-coding-standards/wpcs": "3.0.1"
},
"config": {
"allow-plugins": {
Expand Down
171 changes: 161 additions & 10 deletions composer.lock

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

0 comments on commit 744fa68

Please sign in to comment.