33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-11-14 01:04:07 +00:00
patchtester/ruleset.xml
2022-09-08 10:54:04 +02:00

33 lines
1.1 KiB
XML

<?xml version="1.0"?>
<ruleset name="Joomla-CMS">
<description>The Joomla CMS PSR-12 exceptions.</description>
<!-- Exclude folders not containing production code -->
<exclude-pattern type="relative">build/packag*</exclude-pattern>
<exclude-pattern type="relative">administrator/components/com_patchtester/vendor/*</exclude-pattern>
<rule ref="PSR12">
<exclude name="Generic.Files.LineEndings"/>
</rule>
<!-- temporary extend the line length -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="560"/>
<property name="absoluteLineLimit" value="560"/>
</properties>
</rule>
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern type="relative">build/patchtester/release\.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern type="relative">administrator/components/com_patchtester/script\.php</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName">
<exclude-pattern type="relative">administrator/components/com_patchtester/script\.php</exclude-pattern>
</rule>
</ruleset>