PluginProbe ʕ •ᴥ•ʔ
Custom Post Type Permalinks / 3.4.2
Custom Post Type Permalinks v3.4.2
1.2.0 1.3.0 1.3.1 1.4.0 1.5.1 1.5.2 1.5.4 2.0.0 2.0.1 2.0.2 2.1.1 2.1.2 2.1.3 2.2.0 3.0.0 3.0.1 3.1.0 3.1.1 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.3.0 3.3.1 3.3.4 3.3.5 3.4.0 3.4.0-rc.1 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5.2 3.5.3 3.5.4 3.5.5 trunk 0.6 0.6.1 0.6.2 0.7 0.7.1 0.7.10 0.7.2 0.7.2.1 0.7.3 0.7.3.1 0.7.4 0.7.4.1 0.7.5 0.7.5.1 0.7.5.2 0.7.5.6 0.7.6 0.7.8 0.7.9 0.7.9.1 0.7.9.2 0.8 0.8.1 0.8.6 0.8.7 0.8.7.1 0.8.7.5 0.8.7.6 0.9 0.9.1 0.9.2.1 0.9.3.1 0.9.3.2 0.9.3.3 0.9.5 0.9.5.1 0.9.5.2 0.9.5.3 0.9.5.4 0.9.5.6 0.9.6 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0
custom-post-type-permalinks / .phpcs.xml.dist
custom-post-type-permalinks Last commit date
.github 5 years ago CPTP 5 years ago assets 5 years ago language 5 years ago .distignore 5 years ago .phpcs.xml.dist 5 years ago CONTRIBUTING.md 9 years ago CPTP.php 5 years ago LICENSE 9 years ago custom-post-type-permalinks.php 5 years ago readme.txt 5 years ago screenshot-1.png 5 years ago
.phpcs.xml.dist
50 lines
1 <?xml version="1.0"?>
2 <ruleset name="WordPress Coding Standards based custom ruleset for your plugin">
3 <description>Generally-applicable sniffs for WordPress plugins.</description>
4
5 <!-- What to scan -->
6 <file>.</file>
7 <exclude-pattern>/vendor/</exclude-pattern>
8 <exclude-pattern>/node_modules/</exclude-pattern>
9 <exclude-pattern>/wordpress/</exclude-pattern>
10 <exclude-pattern>/tests/</exclude-pattern>
11 <!-- How to scan -->
12 <!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
13 <!-- Annotated ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
14 <arg value="sp"/> <!-- Show sniff and progress -->
15 <arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit -->
16 <arg name="colors"/>
17 <arg name="extensions" value="php"/>
18 <arg name="parallel" value="8"/><!-- Enables parallel processing when available for faster results. -->
19
20 <!-- Rules: Check PHP version compatibility -->
21 <!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
22 <config name="testVersion" value="5.3-"/>
23 <!-- https://github.com/PHPCompatibility/PHPCompatibilityWP -->
24 <rule ref="PHPCompatibilityWP"/>
25 <config name="minimum_supported_wp_version" value="4.7"/>
26 <rule ref="WordPress-Core">
27 <exclude name="WordPress.Files.FileName" />
28 <exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase" />
29 <exclude name="WordPress.NamingConventions.ValidHookName" />
30 </rule>
31 <rule ref="WordPress-Docs"/>
32 <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
33 <properties>
34 <!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
35 <property name="prefixes" type="array" value="CPTP"/>
36 </properties>
37 </rule>
38 <rule ref="WordPress.WP.I18n">
39 <properties>
40 <!-- Value: replace the text domain used. -->
41 <property name="text_domain" type="array" value="custom-post-type-permalinks"/>
42 </properties>
43 </rule>
44 <rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
45 <properties>
46 <property name="blank_line_check" value="true"/>
47 </properties>
48 </rule>
49 </ruleset>
50