<?xml version="1.0"?>
<ruleset name="Direct Delivery Update Coding Standard">
    <description>PHP CodeSniffer configuration for Direct Delivery Update</description>
    
    <!-- Use PSR-12 coding standard -->
    <rule ref="PSR12"/>

    <!-- Legacy CLI script pattern: file both defines functions and executes procedural code -->
    <rule ref="PSR1.Files.SideEffects">
        <exclude-pattern>*/bin/*</exclude-pattern>
    </rule>
    
    <!-- Show progress -->
    <arg value="p"/>
    
    <!-- Show colors in output -->
    <arg name="colors"/>
    
    <!-- Paths to check -->
    <file>bin</file>
    
    <!-- Exclude vendor -->
    <exclude-pattern>*/vendor/*</exclude-pattern>
    <exclude-pattern>*/tests/*</exclude-pattern>
</ruleset>
