|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<ruleset name="phpunit-finder"> |
3 | | - <description>PHP CodeSniffer configuration for PHPUnit Finder</description> |
4 | | - <!-- folders to scan --> |
| 2 | +<ruleset name="pnx-project"> |
| 3 | + <description>PHP Codesniffer configuration.</description> |
5 | 4 | <file>./src</file> |
6 | | - <file>./tests</file> |
7 | | - <!-- extensions to scan --> |
| 5 | + <exclude-pattern>./tests/bootstrap.php</exclude-pattern> |
8 | 6 | <arg name="extensions" value="php"/> |
9 | | - <!-- additional arguments --> |
10 | 7 | <arg name="report" value="full"/> |
11 | | - <!-- inherit from coder --> |
12 | | - <rule ref="./vendor/drupal/coder/coder_sniffer/Drupal"/> |
13 | | - <!-- Additional detailed sniff configuration --> |
14 | | - <!-- You can determine sniff names by running with -s flag --> |
15 | | - <!-- Example 1 - ignore Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
16 | | - <rule ref="Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"> |
17 | | - <severity>0</severity> |
18 | | - </rule> |
19 | | - // End example 1 --> |
20 | | - <!-- Example 2 - ignore rule for specific files |
21 | | - <rule ref="Drupal.NamingConventions.ValidVariableName.LowerCamelName"> |
22 | | - <exclude-pattern>OfferNormalizerTrait.php</exclude-pattern> |
23 | | - <exclude-pattern>TimeOfUseValidationTrait.php</exclude-pattern> |
24 | | - </rule> |
25 | | - // End example 2 --> |
| 8 | + <arg name="colors"/> |
| 9 | + <arg value="sp"/> |
| 10 | + <rule ref="Drupal"> |
| 11 | + <!-- ignore for now --> |
| 12 | + <exclude name="Drupal.Classes.UseGlobalClass.RedundantUseStatement" /> |
| 13 | + </rule> |
| 14 | + <rule ref="PHPCompatibility"/> |
| 15 | + <config name="testVersion" value="7.3-"/> |
26 | 16 | </ruleset> |
0 commit comments