-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcompat.xml
59 lines (51 loc) · 2.27 KB
/
phpcompat.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<ruleset name="WordPress PHP Compatibility">
<description>Apply PHP compatibility checks to all files.</description>
<arg name="basepath" value="./" />
<arg name="extensions" value="php" />
<arg name="parallel" value="20" />
<arg value="ps" />
<ini name="memory_limit" value="256M" />
<rule ref="PHPCompatibilityWP" />
<!-- Require PHP 7.4+. -->
<config name="testVersion" value="7.4-" />
<!--
Exclusions.
-->
<!-- Build tool config/scripts. -->
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<!-- Third-party plugins and themes. -->
<exclude-pattern>/plugins/aruba-hispeed-cache/*</exclude-pattern>
<exclude-pattern>/plugins/cookie-law-info/*</exclude-pattern>
<exclude-pattern>/plugins/gravityforms/*</exclude-pattern>
<exclude-pattern>/plugins/imagify/*</exclude-pattern>
<exclude-pattern>/plugins/query-monitor/*</exclude-pattern>
<exclude-pattern>/plugins/redirection/*</exclude-pattern>
<exclude-pattern>/plugins/wordpress-seo/*</exclude-pattern>
<exclude-pattern>/themes/twentytwentyfour/*</exclude-pattern>
<!-- Other files and folders -->
<exclude-pattern>/*.asset.php</exclude-pattern>
<exclude-pattern>/db.php</exclude-pattern>
<exclude-pattern>/xmlrpc.php</exclude-pattern>
<exclude-pattern>/index.php</exclude-pattern>
<exclude-pattern>/uploads/*</exclude-pattern>
<exclude-pattern>/images/*</exclude-pattern>
<exclude-pattern>/languages/*</exclude-pattern>
<exclude-pattern>/mu-plugins/*</exclude-pattern>
<exclude-pattern>/wp-admin/*</exclude-pattern>
<exclude-pattern>/wp-includes/*</exclude-pattern>
<exclude-pattern>/wp-config.php</exclude-pattern>
<exclude-pattern>/wp-config-sample.php</exclude-pattern>
<exclude-pattern>/wp-cron.php</exclude-pattern>
<exclude-pattern>/wp-signup.php</exclude-pattern>
<exclude-pattern>/wp-blog-header.php</exclude-pattern>
<exclude-pattern>/wp-login.php</exclude-pattern>
<exclude-pattern>/wp-comments-post.php</exclude-pattern>
<exclude-pattern>/wp-settings.php</exclude-pattern>
<exclude-pattern>/wp-load.php</exclude-pattern>
<exclude-pattern>/wp-mail.php</exclude-pattern>
<exclude-pattern>/wp-links-opml.php</exclude-pattern>
<exclude-pattern>/wp-activate.php</exclude-pattern>
<exclude-pattern>/wp-trackback.php</exclude-pattern>
</ruleset>