Adding PHPCS and Woodpecker config
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-07-21 12:54:06 -04:00
parent ae60ab50e7
commit 29e7b836d3
2 changed files with 38 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?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>