<?xml version="1.0"?>
<ruleset name="Custom Standard">
    <description>Crunchmail PHP Client coding standards</description>

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

    <rule ref="PSR2">
        <exclude name="Squiz.ControlStructures.ControlSignature"/>
        <exclude name="PSR2.Methods.FunctionCallSignature.Indent"/>
        <exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments"/>
        <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
    </rule>
    <rule ref="Generic.ControlStructures.InlineControlStructure"/>

</ruleset>

<?xml version="1.0"?>
<ruleset name="Custom Standard">
    <description>Crunchmail PHP Client coding standards</description>

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

    <rule ref="PSR2">
        <exclude name="Squiz.ControlStructures.ControlSignature"/>
        <exclude name="PSR2.Methods.FunctionCallSignature.Indent"/>
        <exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments"/>
        <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
        <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
    </rule>
    <rule ref="Generic.ControlStructures.InlineControlStructure"/>

</ruleset>

Add CamelCase rules for phpmd
chore: Add CamelCase rules for phpmd
