mailchimp-for-wp
Last commit date
assets
4 years ago
config
6 years ago
includes
3 years ago
integrations
5 years ago
languages
3 years ago
vendor
3 years ago
CHANGELOG.md
3 years ago
LICENSE
11 years ago
mailchimp-for-wp.php
3 years ago
phpcs.xml
5 years ago
readme.txt
3 years ago
wpml-config.xml
4 years ago
phpcs.xml
56 lines
| 1 | <?xml version="1.0"?> |
| 2 | <ruleset name="rules"> |
| 3 | <description>rules</description> |
| 4 | <file>mailchimp-for-wp.php</file> |
| 5 | <file>includes/</file> |
| 6 | <file>integrations/</file> |
| 7 | <file>config/</file> |
| 8 | |
| 9 | <exclude-pattern>**/*.js</exclude-pattern> |
| 10 | |
| 11 | <rule ref="WordPress-Core"> |
| 12 | <exclude name="WordPress.PHP.YodaConditions" /> |
| 13 | <exclude name="WordPress.WP.DeprecatedFunctions.get_settingsFound" /> |
| 14 | <exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" /> |
| 15 | <exclude name="WordPress.Arrays.ArrayIndentation.ItemNotAligned" /> |
| 16 | <exclude name="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase" /> |
| 17 | <exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" /> |
| 18 | </rule> |
| 19 | |
| 20 | <rule ref="WordPress.WP.I18n"> |
| 21 | <properties> |
| 22 | <property name="text_domain" type="array"> |
| 23 | <element value="mailchimp-for-wp" /> |
| 24 | <element value="ninja-forms" /> |
| 25 | <element value="wpforms" /> |
| 26 | </property> |
| 27 | </properties> |
| 28 | </rule> |
| 29 | |
| 30 | <rule ref="WordPress.WP.DeprecatedFunctions"> |
| 31 | <properties> |
| 32 | <property name="minimum_supported_version" value="4.6"/> |
| 33 | </properties> |
| 34 | </rule> |
| 35 | |
| 36 | <rule ref="WordPress.Files.FileName"> |
| 37 | <properties> |
| 38 | <property name="strict_class_file_names" value="false"/> |
| 39 | </properties> |
| 40 | </rule> |
| 41 | |
| 42 | <rule ref="WordPress.NamingConventions.ValidHookName"> |
| 43 | <properties> |
| 44 | <property name="additionalWordDelimiters" value="-"/> |
| 45 | </properties> |
| 46 | </rule> |
| 47 | |
| 48 | <rule ref="WordPress.WP.CronInterval"> |
| 49 | <properties> |
| 50 | <property name="min_interval" value="60"/> |
| 51 | </properties> |
| 52 | </rule> |
| 53 | |
| 54 | <arg name="colors" /> |
| 55 | </ruleset> |
| 56 |