File: ProcessRulesetShouldProcessElementTest.xml

package info (click to toggle)
php-codesniffer 3.11.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,772 kB
  • sloc: php: 84,771; pascal: 10,061; xml: 6,832; javascript: 2,096; sh: 11; makefile: 4
file content (54 lines) | stat: -rw-r--r-- 1,748 bytes parent folder | download
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
48
49
50
51
52
53
54
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ProcessRulesetShouldProcessElementTest" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd">

    <file>.</file>

    <!--
    ################
    # Neither set. #
    ################
    -->
    <config name="neither" value="true"/>
    <arg value="ps" />
    <arg name="extensions" value="php,phpt" />
    <ini name="bcmath.scale" value="2"/>

    <exclude-pattern>./tests/</exclude-pattern>

    <rule ref="PEAR.Formatting.MultiLineAssignment"/>

    <!--
    ###################
    # phpcs-only set. #
    ###################
    -->
    <config phpcs-only="true" name="csOnly" value="true"/>
    <arg phpcs-only="true" name="colors"/>
    <ini phpcs-only="true" name="docref_root" value="path/to/docs/"/>

    <exclude-pattern phpcs-only="true">./vendor/</exclude-pattern>

    <rule phpcs-only="true" ref="Generic.Arrays.ArrayIndent"/>

    <rule ref="PEAR.Formatting.MultiLineAssignment">
        <exclude phpcs-only="true" name="PEAR.Formatting.MultiLineAssignment.Indent"/>
    </rule>

    <!--
    ####################
    # phpcbf-only set. #
    ####################
    -->
    <config phpcbf-only="true" name="cbfOnly" value="true"/>
    <arg phpcbf-only="true" name="report" value="summary"/>
    <ini phpcbf-only="true" name="user_agent" value="Never mind"/>

    <exclude-pattern phpcbf-only="true">./node-modules/</exclude-pattern>

    <rule phpcbf-only="true" ref="PSR2.Classes.ClassDeclaration"/>

    <rule ref="PEAR.Formatting.MultiLineAssignment">
        <exclude phpcbf-only="true" name="PEAR.Formatting.MultiLineAssignment.EqualSignLine"/>
    </rule>

</ruleset>