Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Update phpcs config.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Feb 9, 2019
1 parent dbf8e8a commit d1b46da
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions phpcs.ruleset.xml
@@ -1,6 +1,25 @@
<?xml version="1.0"?>

<ruleset name="WordPress Pay OmniKassa rules">
<config name="minimum_supported_wp_version" value="4.7"/>

<config name="testVersion" value="5.3-"/>

<file>.</file>

<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg value="sp"/>

<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
<exclude-pattern>tests/wp-config.php</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>wordpress/*</exclude-pattern>
<exclude-pattern type="relative">^/wp-content/*</exclude-pattern>

<rule ref="PHPCompatibilityWP"/>

<rule ref="WordPress">
<exclude name="Generic.Files.LowercasedFilename.NotFound" />

Expand Down

0 comments on commit d1b46da

Please sign in to comment.