Skip to content

Commit

Permalink
feat: add PHP >=8.0 rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanShaw committed May 23, 2023
1 parent 0b72b5c commit aa22921
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
13 changes: 13 additions & 0 deletions Aivec-Core-8/ruleset.xml
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset name="Aivec Core 8">
<description>Aivec coding standard for PHP >=8.0 libraries/projects</description>

<rule ref="Aivec-Core"/>

<!-- Ensures compatibility with PHP versions >=8.0 -->
<config name="testVersion" value="8.0-"/>
<rule ref="PHPCompatibility">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>

</ruleset>
13 changes: 13 additions & 0 deletions AivecWP-8/ruleset.xml
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset name="AivecWP 8">
<description>Aivec coding standard for WordPress PHP >=8.0 libraries/projects</description>

<rule ref="AivecWP"/>

<!-- Ensures compatibility with PHP versions >=8.0 -->
<config name="testVersion" value="8.0-"/>
<rule ref="PHPCompatibilityWP">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>

</ruleset>
13 changes: 7 additions & 6 deletions composer.lock

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

0 comments on commit aa22921

Please sign in to comment.