forked from php-amqplib/php-amqplib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
47 lines (43 loc) · 2.76 KB
/
phpcs.xml.dist
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
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg value="p"/>
<arg name="extensions" value="php"/>
<arg name="tab-width" value="4"/>
<arg name="report-width" value="120"/>
<rule ref="PEAR.Functions.ValidDefaultValue">
<!-- We should preserve BC with possible child classes until next major version -->
<exclude-pattern>PhpAmqpLib/Helper/Protocol/Protocol091.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/Protocol/Protocol080.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AbstractConnection.php</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<!-- We should preserve BC with possible child classes
and public method usage until next major version -->
<exclude-pattern>PhpAmqpLib/Wire/AMQPReader.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Wire/IO/SocketIO.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Wire/IO/StreamIO.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Wire/IO/AbstractIO.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Wire/AMQPWriter.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPSocketConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPSSLConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPStreamConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPLazyConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPLazySocketConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AMQPLazySSLConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Connection/AbstractConnection.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Message/AMQPMessage.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/Protocol/Wait091.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/Protocol/MethodMap091.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/Protocol/Wait080.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/Protocol/MethodMap080.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/DebugHelper.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Helper/MiscHelper.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Channel/AMQPChannel.php</exclude-pattern>
<exclude-pattern>PhpAmqpLib/Channel/AbstractChannel.php</exclude-pattern>
</rule>
<file>PhpAmqpLib/</file>
</ruleset>