Files
colossus/phpcs.xml
T
gballan 29e7b836d3
ci/woodpecker/push/woodpecker Pipeline failed
Adding PHPCS and Woodpecker config
2026-07-21 12:54:06 -04:00

24 lines
722 B
XML

<?xml version="1.0"?>
<ruleset name="Custom PHPCS Ruleset">
<description>PHPCodeSniffer configuration for PHP code analysis.</description>
<!-- Path to analyze -->
<file>src</file>
<!-- Display progress (-p), show sniff codes on violations (-s), and colorize output -->
<arg value="p"/>
<arg value="s"/>
<arg name="colors"/>
<!-- Set standard coding standard (PSR-12) -->
<rule ref="PSR12"/>
<!-- Exclude third-party vendor files and node_modules -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<!-- Cache results locally to speed up subsequent runs -->
<arg name="cache" value=".phpcs.cache"/>
</ruleset>