Skip to content

Commit

Permalink
Merge pull request #251 from WordPress/fix/phpcs-errors
Browse files Browse the repository at this point in the history
Add phpcs exception to avoid PHP8.0 incompatibility errors
  • Loading branch information
madhusudhand authored Mar 1, 2023
2 parents 6d2ada1 + 1495aaa commit 9b810a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,10 @@
<rule ref="WordPress.Files.FileName">
<exclude-pattern>*</exclude-pattern>
</rule>

<!--
Prevent errors caused by WordPress Coding Standards not supporting PHP 8.0+.
See https://github.com/WordPress/WordPress-Coding-Standards/issues/2035
-->
<ini name="error_reporting" value="E_ALL &#38; ~E_DEPRECATED" />
</ruleset>

0 comments on commit 9b810a7

Please sign in to comment.