Skip to content

Commit 068f4b3

Browse files
committed
Disable phpcs sniff for BC compat
In order to keep BC compatiblity, I had to introduce class_alias calls in the True_ and False_ classes. This has a side-effect, which the phpcs fails on.
1 parent 069ab05 commit 068f4b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

phpcs.xml.dist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset name="phpDocumentor">
3-
<description>The coding standard for phpDocumentor.</description>
3+
<description>The coding standard for phpDocumentor.</description>
44

55
<file>src</file>
66
<file>tests/unit</file>
@@ -13,4 +13,9 @@
1313
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
1414
<exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
1515
</rule>
16+
17+
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
18+
<exclude-pattern>*/src/PseudoTypes/False_.php</exclude-pattern>
19+
<exclude-pattern>*/src/PseudoTypes/True_.php</exclude-pattern>
20+
</rule>
1621
</ruleset>

0 commit comments

Comments
 (0)