<?xml version="1.0"?>
<ruleset name="Favicon">
  <description>Coding standards</description>

  <file>src</file>
  <file>tests</file>

  <arg name="colors"/>

  <rule ref="PSR12"/>
  <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>

  <rule ref="PSR12.Properties.ConstantVisibility.NotFound">
    <!-- We need to drop PHP <7.1 compatibility for that -->
    <exclude-pattern>src/Favicon/FaviconDLType.php</exclude-pattern>
    <exclude-pattern>tests/Favicon/FaviconTest.php</exclude-pattern>
  </rule>
</ruleset>
