-
Notifications
You must be signed in to change notification settings - Fork 54
/
ruleset.xml
23 lines (23 loc) · 1.11 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
<?xml version="1.0"?>
<ruleset name="Kdyby/Console">
<rule ref="vendor/kdyby/coding-standard/ruleset.xml"/>
<rule ref="Consistence.Exceptions.ExceptionDeclaration.NotEndingWithException">
<exclude-pattern>src/FatalThrowableError.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly.ReferencedGeneralException">
<exclude-pattern>src/FatalThrowableError.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.StaticClosure.ClosureNotStatic">
<exclude-pattern>tests/KdybyTests/Console/ApplicationTest.phpt</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint">
<exclude-pattern>src/Application.php</exclude-pattern>
<exclude-pattern>src/StringOutput.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint">
<exclude-pattern>src/ContainerHelper</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Variables.UnusedVariable.UnusedVariable">
<exclude-pattern>src/DI/ConsoleExtension.php</exclude-pattern>
</rule>
</ruleset>