Skip to content

Commit

Permalink
Merge pull request #6 from wndrfl/feature/update-phpcs-20240814
Browse files Browse the repository at this point in the history
fixes issues with php 8.0 when linting
  • Loading branch information
johnnietheblack authored Aug 14, 2024
2 parents aed3e1e + ae0af35 commit d88f8b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,10 @@
<rule ref="Generic.Commenting.Todo"/>

<config name="minimum_supported_wp_version" value="4.9"/>
</ruleset>

<!--
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 d88f8b9

Please sign in to comment.