mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-21 21:46:09 +01:00
Daniel Siepmann
9a4f71bce4
Pages can not be copied by administrators as DataHandler will copy all pages, including tx_tracking_* tables. Those are not allowed on tables which will result in error messages. A test is added to simulate the action and ensure it doesn't fail with errors. Results: #52
22 lines
648 B
XML
22 lines
648 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="project">
|
|
<description>This project coding standard</description>
|
|
|
|
<file>Classes/</file>
|
|
<file>Tests/</file>
|
|
|
|
<!-- Set default settings -->
|
|
<arg value="sp"/>
|
|
<arg name="colors"/>
|
|
<arg name="encoding" value="utf-8" />
|
|
<arg name="extensions" value="php" />
|
|
|
|
<!-- Base rules -->
|
|
<rule ref="PSR12" />
|
|
<rule ref="Generic.Files.LineLength.TooLong">
|
|
<exclude-pattern>/Tests/*</exclude-pattern>
|
|
</rule>
|
|
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
|
|
<exclude-pattern>/Classes/Hooks/DataHandler.php</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|