Skip to content

Commit 897f378

Browse files
committed
Ignore PHPCS issues with property hooks
1 parent 657b65c commit 897f378

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

phpcs.xml.dist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,14 @@
4444
<exclude-pattern>src/ArrayCollection.php</exclude-pattern>
4545
<exclude-pattern>src/Collection.php</exclude-pattern>
4646
</rule>
47+
48+
<rule ref="PSR2.Classes.PropertyDeclaration.Multiple">
49+
<!-- https://github.com/doctrine/collections/pull/472#issuecomment-3384164908 -->
50+
<exclude-pattern>tests/TestObjectPropertyHook.php</exclude-pattern>
51+
</rule>
52+
53+
<rule ref="PSR2.Classes.PropertyDeclaration.ScopeMissing">
54+
<!-- https://github.com/doctrine/collections/pull/472#issuecomment-3384164908 -->
55+
<exclude-pattern>tests/TestObjectPropertyHook.php</exclude-pattern>
56+
</rule>
4757
</ruleset>

0 commit comments

Comments
 (0)