<?xml version="1.0"?>
<ruleset name="KVH PHPCS Rules" namespace="Kovah\CS\Standard">
  <description>KVH Code Standard ruleset</description>

  <!-- Check the theme folder -->
  <file>./app</file>
  <file>./database/factories</file>
  <file>./database/seeders</file>
  <file>./tests</file>

  <!-- Enable the PSR-2 Code Standard rules -->
  <rule ref="PSR2">
    <exclude name="Generic.Files.LineLength"/>
  </rule>

  <!-- Disable camel caps warnings for tests directory -->
  <rule ref="PSR1.Methods.CamelCapsMethodName">
    <exclude-pattern>*/tests/*</exclude-pattern>
  </rule>

  <rule ref="Internal.NoCodeFound">
    <severity>0</severity>
  </rule>
</ruleset>
