-
Notifications
You must be signed in to change notification settings - Fork 438
/
phpcs-ruleset.xml
40 lines (40 loc) · 2.04 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
29
30
31
32
33
34
35
36
37
38
39
40
<?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>
<exclude-pattern>*/tests/*/*Test.php</exclude-pattern>
<exclude-pattern>*/tests/*/*TestCase.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>
<exclude-pattern>Firestore/src/WriteBatch.php</exclude-pattern>
</rule>
<file>.</file>
<exclude-pattern>*/samples</exclude-pattern>
<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>AccessContextManager/src/Type</exclude-pattern>
<exclude-pattern>Asset/external</exclude-pattern>
<exclude-pattern>BigQueryDataExchange/src/Common</exclude-pattern>
<exclude-pattern>Core/src/Testing</exclude-pattern>
<exclude-pattern>GSuiteAddOns/external</exclude-pattern>
<exclude-pattern>OsLogin/src/Common</exclude-pattern>
<exclude-pattern>LongRunning/src/ApiCore/LongRunning</exclude-pattern>
<exclude-pattern>LongRunning/src/LongRunning</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>
<exclude-pattern>Translate/src/TranslateClient.php</exclude-pattern>
<exclude-pattern>Translate/src/Connection/*</exclude-pattern>
<arg name="extensions" value="php"/>
</ruleset>