forked from ec-europa/platform-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs-compat.xml
44 lines (36 loc) · 1.56 KB
/
phpcs-compat.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
41
42
43
44
<?xml version="1.0"?>
<!-- PHP_CodeSniffer standard for PHP compatiblity of NextEuropa. -->
<ruleset name="NextEuropa-Compat">
<description>Verifies PHP Compatibility of NextEuropa</description>
<rule ref="PHPCompatibility"/>
<file>./profiles</file>
<file>./src</file>
<file>./tests</file>
<file>./vendor</file>
<file>./build/vendor</file>
<!--
Exclude database dumps used in simpletest.
They are bigger than the usual source code and on some
even the PHP memory resources will be exceeded.
-->
<exclude-pattern>*.database.php</exclude-pattern>
<exclude-pattern>d6_simplenews_*.php</exclude-pattern>
<!--
Exclude some projects in the vendor directory of which
we are pretty certain they provide good PHP 7 support.
-->
<exclude-pattern>/vendor/wimg/php-compatibility/</exclude-pattern>
<exclude-pattern>/vendor/nikic/PHP-Parser/</exclude-pattern>
<exclude-pattern>/vendor/squizlabs/php_codesniffer/</exclude-pattern>
<exclude-pattern>/vendor/symfony/</exclude-pattern>
<exclude-pattern>/vendor/drupal/coder/</exclude-pattern>
<exclude-pattern>/vendor/phing/</exclude-pattern>
<exclude-pattern>/vendor/composer/</exclude-pattern>
<arg name="extensions" value="php,inc,module,install,profile,theme"/>
<arg name="report" value="csv"/>
<arg name="report-file" value="php-compatibility-report.csv"/>
<arg value="p"/>
<!-- only print errors for now -->
<arg name="warning-severity" value="0"/>
<config name="testVersion" value="5.6-7.0"/>
</ruleset>