-
Notifications
You must be signed in to change notification settings - Fork 60
/
ruleset.xml
24 lines (20 loc) · 1.05 KB
/
ruleset.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="Kdyby/Events">
<rule ref="vendor/kdyby/coding-standard/KdybyCodingStandard/ruleset-5.6.xml"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
<!-- BC -->
<exclude-pattern>src/Events/LifeCycleEvent.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition.AssignmentInCondition">
<!-- the condition is more readable and the cycle is simpler this way, fuck you -->
<exclude-pattern>src/Events/EventManager.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation.NonFullyQualifiedClassName">
<exclude-pattern>src/Events/EventManager.php</exclude-pattern>
<exclude-pattern>src/Events/Diagnostics/Panel.php</exclude-pattern>
<exclude-pattern>src/Events/LazyEventManager.php</exclude-pattern>
</rule>
<!-- compatibility classes, they're a mess, just ignore them -->
<exclude-pattern>src/Doctrine/*</exclude-pattern>
<exclude-pattern>src/Symfony/*</exclude-pattern>
</ruleset>