Skip to content

Commit

Permalink
Add exception to avoid php8 incompatibility errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng committed Feb 28, 2023
1 parent 6d2ada1 commit 1495aaa
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 1495aaa

Please sign in to comment.