Skip to content

Commit

Permalink
ETK: make PHP linting PHP 8 compatible (#71062)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored Dec 12, 2022
1 parent 7348c68 commit b17ee1e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
<ruleset name="editing-toolkit">
<description>Editing Toolkit Plugin Rules</description>

<!--
Suppress all PHP run-time notices across all PHP versions, thus preventing
errors caused by WordPress Coding Standards not supporting PHP 8.0+ yet.
Once WPCS supports PHP8, this can be removed.
See https://github.com/WordPress/WordPress-Coding-Standards/issues/2035
-->
<ini name="error_reporting" value="E_ALL &#38; ~E_DEPRECATED" />

<rule ref="Jetpack"/>
<rule ref="WordPress.Utils.I18nTextDomainFixer">
<properties>
Expand Down

0 comments on commit b17ee1e

Please sign in to comment.