PluginProbe ʕ •ᴥ•ʔ
Custom Post Type Permalinks / 3.5.4
Custom Post Type Permalinks v3.5.4
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 2 months ago CPTP 1 year ago assets 5 years ago language 5 years ago .distignore 5 years ago .phpcs.xml.dist 2 months ago CLAUDE.md 2 months ago CONTRIBUTING.md 9 years ago CPTP.php 5 years ago LICENSE 9 years ago custom-post-type-permalinks.php 2 months ago readme.txt 2 months ago screenshot-1.png 5 years ago
.phpcs.xml.dist
49 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 <!-- What to scan -->
5 <file>.</file>
6 <exclude-pattern>/vendor/</exclude-pattern>
7 <exclude-pattern>/node_modules/</exclude-pattern>
8 <exclude-pattern>/wordpress/</exclude-pattern>
9 <exclude-pattern>/tests/</exclude-pattern>
10 <!-- How to scan -->
11 <!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
12 <!-- Annotated ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
13 <arg value="sp"/> <!-- Show sniff and progress -->
14 <arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit -->
15 <arg name="colors"/>
16 <arg name="extensions" value="php"/>
17 <arg name="parallel" value="8"/><!-- Enables parallel processing when available for faster results. -->
18
19 <!-- Rules: Check PHP version compatibility -->
20 <!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
21 <config name="testVersion" value="8.0-"/>
22 <!-- https://github.com/PHPCompatibility/PHPCompatibilityWP -->
23 <rule ref="PHPCompatibilityWP"/>
24 <config name="minimum_supported_wp_version" value="6.7"/>
25 <rule ref="WordPress-Core">
26 <exclude name="WordPress.Files.FileName" />
27 <exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase" />
28 <exclude name="WordPress.NamingConventions.ValidHookName" />
29 </rule>
30 <rule ref="WordPress-Docs"/>
31 <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
32 <properties>
33 <!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
34 <property name="prefixes" type="array" value="CPTP"/>
35 </properties>
36 </rule>
37 <rule ref="WordPress.WP.I18n">
38 <properties>
39 <!-- Value: replace the text domain used. -->
40 <property name="text_domain" type="array" value="custom-post-type-permalinks"/>
41 </properties>
42 </rule>
43 <rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
44 <properties>
45 <property name="blank_line_check" value="true"/>
46 </properties>
47 </rule>
48 </ruleset>
49