-
-
Notifications
You must be signed in to change notification settings - Fork 108
/
ncs.xml
27 lines (22 loc) · 915 Bytes
/
ncs.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
25
26
27
<?xml version="1.0"?>
<ruleset name="Custom" namespace="Nette">
<rule ref="$presets/php80.xml"/>
<rule ref="SlevomatCodingStandard.PHP.RequireNowdoc.RequiredNowdoc">
<exclude-pattern>./tests/phpPrint/stringEscaping.phpt</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.NonExecutableCode.Unreachable">
<exclude-pattern>./src/Latte/Compiler/Node.php</exclude-pattern>
<exclude-pattern>*.phpt</exclude-pattern>
</rule>
<!-- public foo /*readonly*/ $foo -->
<rule ref="Squiz.Commenting.VariableComment.WrongStyle">
<exclude-pattern>*.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine.MultipleUsesPerLine">
<exclude-pattern>./src/Latte/Essential/Filters.php</exclude-pattern>
</rule>
<!-- strfime() -->
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<exclude-pattern>./src/Latte/Essential/Filters.php</exclude-pattern>
</rule>
</ruleset>