26 lines
No EOL
1 KiB
XML
26 lines
No EOL
1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="Appwrite Standard" namespace="Appwrite">
|
|
<rule ref="PSR12"/>
|
|
<file>./app</file>
|
|
<file>./src</file>
|
|
<file>./tests</file>
|
|
<ini name="memory_limit" value="4096M"/>
|
|
<!-- Exclude SDK's for performance reasons -->
|
|
<exclude-pattern>./app/sdks</exclude-pattern>
|
|
<!-- Exclude functions as they are in different languages -->
|
|
<exclude-pattern>./tests/resources/functions</exclude-pattern>
|
|
<!-- Exclude console -->
|
|
<exclude-pattern>./app/console</exclude-pattern>
|
|
<!-- Ignore max line width -->
|
|
<rule ref="Generic.Files.LineLength">
|
|
<exclude-pattern>*</exclude-pattern>
|
|
</rule>
|
|
<!-- Allow Side Effects on root level of files -->
|
|
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
|
|
<exclude-pattern>*</exclude-pattern>
|
|
</rule>
|
|
<!-- Exclude namespace check for ./app directory -->
|
|
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
|
|
<exclude-pattern>./app</exclude-pattern>
|
|
</rule>
|
|
</ruleset> |