forked from googleapis/google-cloud-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs-ruleset.xml
28 lines (28 loc) · 1.3 KB
/
phpcs-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
25
26
27
28
<?xml version="1.0"?>
<ruleset name="Google-Cloud-PHP-PSR2">
<rule ref="PSR2" />
<rule ref="PSR1.Methods.CamelCapsMethodName">
<exclude-pattern>Storage/src/StreamWrapper.php</exclude-pattern>
<exclude-pattern>Speech/tests/Unit/HttpStreamWrapper.php</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>Core/src/Testing/Lock/MockValues.php</exclude-pattern>
<exclude-pattern>ErrorReporting/tests/Unit/BootstrapTest.php</exclude-pattern>
</rule>
<file>.</file>
<exclude-pattern>*/src/V[0-9]+</exclude-pattern>
<exclude-pattern>*/src/*/V[0-9]+</exclude-pattern>
<exclude-pattern>*/src/*/*/V[0-9]+</exclude-pattern>
<exclude-pattern>*/tests/*/V[0-9]+</exclude-pattern>
<exclude-pattern>*/tests/*/*/V[0-9]+</exclude-pattern>
<exclude-pattern>Core/src/Testing</exclude-pattern>
<exclude-pattern>OsLogin/src/Common</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>dev</exclude-pattern>
<exclude-pattern>docs</exclude-pattern>
<exclude-pattern>*/metadata</exclude-pattern>
<exclude-pattern>Firestore/tests/Conformance</exclude-pattern>
<exclude-pattern>tests/Component/TestComposerInstall.php</exclude-pattern>
<exclude-pattern>CommonProtos</exclude-pattern>
<arg name="extensions" value="php"/>
</ruleset>