pods
Last commit date
classes
2 weeks ago
components
2 weeks ago
deprecated
2 weeks ago
includes
2 weeks ago
sql
2 weeks ago
src
2 weeks ago
tribe-common
2 weeks ago
ui
2 weeks ago
vendor
2 weeks ago
.phpcs.compat.xml
2 weeks ago
.phpcs.xml
2 weeks ago
changelog.txt
2 weeks ago
init.php
2 weeks ago
license.txt
2 weeks ago
readme.txt
2 weeks ago
.phpcs.xml
50 lines
| 1 | <?xml version="1.0"?> |
| 2 | <ruleset name="Pods Coding Standards"> |
| 3 | |
| 4 | <exclude-pattern>*/\.github/*</exclude-pattern> |
| 5 | <exclude-pattern>*/\.wordpress-org/*</exclude-pattern> |
| 6 | <exclude-pattern>*/files/*</exclude-pattern> |
| 7 | <exclude-pattern>*/node_modules/*</exclude-pattern> |
| 8 | <exclude-pattern>*/repo/*</exclude-pattern> |
| 9 | <exclude-pattern>*/tests/*</exclude-pattern> |
| 10 | <exclude-pattern>*/vendor/*</exclude-pattern> |
| 11 | <exclude-pattern>*/cli/*</exclude-pattern> |
| 12 | <exclude-pattern>*/fields/*</exclude-pattern> |
| 13 | <exclude-pattern>*/widgets/*</exclude-pattern> |
| 14 | |
| 15 | <arg name="extensions" value="php"/> |
| 16 | <arg name="colors"/> |
| 17 | <arg name="report" value="full,summary"/> |
| 18 | |
| 19 | <rule ref="TribalScents"/> |
| 20 | <rule ref="WordPress-VIP-Go"/> |
| 21 | <rule ref="WordPress"> |
| 22 | <exclude name="WordPress.Files.FileName"/> |
| 23 | </rule> |
| 24 | <rule ref="WordPress-Extra"/> |
| 25 | <rule ref="WordPress-Docs"/> |
| 26 | <rule ref="WordPress-Core"/> |
| 27 | |
| 28 | <rule ref="WordPress.NamingConventions.PrefixAllGlobals"> |
| 29 | <properties> |
| 30 | <property name="prefixes" type="array" value="pods"/> |
| 31 | </properties> |
| 32 | </rule> |
| 33 | |
| 34 | <rule ref="WordPress.WP.I18n"> |
| 35 | <properties> |
| 36 | <property name="text_domain" type="array" value="pods"/> |
| 37 | </properties> |
| 38 | </rule> |
| 39 | |
| 40 | <rule ref="WordPress.Files"> |
| 41 | <exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/> |
| 42 | <exclude name="WordPress.Files.FileName.InvalidClassFileName"/> |
| 43 | </rule> |
| 44 | |
| 45 | <rule ref="Squiz.PHP"> |
| 46 | <exclude name="Squiz.PHP.CommentedOutCode.Found"/> |
| 47 | <exclude name="Squiz.PHP.GlobalKeyword.NotAllowed"/> |
| 48 | </rule> |
| 49 | </ruleset> |
| 50 |