-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml.dist
31 lines (23 loc) · 1.05 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
<?xml version="1.0"?>
<ruleset name="WordPress Pay Gateway: iDEAL Advanced v3 rules">
<file>.</file>
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
<exclude-pattern>tests/wp-config.php</exclude-pattern>
<rule ref="PHPCompatibility.Constants.NewConstants.openssl_cipher_aes_128_cbcFound">
<exclude-pattern>/src/Integration.php</exclude-pattern>
</rule>
<rule ref="PronamicWP">
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase" />
</rule>
<rule ref="WordPress.DB.SlowDBQuery.slow_db_query_meta_key">
<exclude-pattern>/src/Integration.php</exclude-pattern>
</rule>
<rule ref="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents">
<exclude-pattern>/src/Integration.php</exclude-pattern>
</rule>
<rule ref="WordPress.WP.AlternativeFunctions.file_system_read_file_get_contents">
<exclude-pattern>/src/Integration.php</exclude-pattern>
</rule>
</ruleset>