firefly-import-preprocessor/phpcs.xml
Reindl David (IT-PTR-CEN2-SL10) 170b2d2016 release 1.0
2026-05-02 17:53:19 +02:00

34 lines
1.1 KiB
XML

<?xml version="1.0"?>
<ruleset name="Firefly Import Preprocessor Code Standard">
<description>PSR-12 Code Standard for Firefly Import Preprocessor Project</description>
<!-- Include PSR-12 -->
<rule ref="PSR12"/>
<!-- Exclude vendor and tests -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<!-- File patterns to check -->
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg name="report" value="full"/>
<arg name="report" value="summary"/>
<!-- Line length -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="150"/>
</properties>
</rule>
<!-- Avoid PHP short tags -->
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
<!-- Spacing around operators -->
<rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
<!-- Enforce spaces for indentation (no tabs) -->
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
</ruleset>