PluginProbe ʕ •ᴥ•ʔ
Shortcodes and extra features for Phlox theme / 2.9.16
Shortcodes and extra features for Phlox theme v2.9.16
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.3.0 1.3.1 1.3.10 1.3.14 1.3.2 1.3.3 1.3.6 1.4.0 1.4.1 1.4.2 1.5.0 1.5.2 1.6.0 1.6.2 1.6.4 1.7.0 1.7.2 2.10.0 2.10.1 2.10.3 2.10.5 2.10.7 2.10.8 2.10.9 2.11.0 2.11.1 2.11.2 2.12.0 2.14.0 2.15.0 2.15.2 2.15.4 2.15.5 2.15.6 2.15.7 2.15.8 2.15.9 2.16.0 2.16.1 2.16.2 2.16.3 2.16.4 2.17.0 2.17.1 2.17.12 2.17.13 2.17.14 2.17.15 2.17.16 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.8 2.17.9 2.4.12 2.4.13 2.4.14 2.4.16 2.4.18 2.4.19 2.4.9 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.14 2.5.15 2.5.16 2.5.17 2.5.19 2.5.2 2.5.20 2.5.3 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.10 2.6.12 2.6.13 2.6.14 2.6.15 2.6.16 2.6.17 2.6.19 2.6.2 2.6.20 2.6.4 2.6.5 2.6.7 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.9 2.9.0 2.9.12 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.19 2.9.2 2.9.20 2.9.21 2.9.22 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8
auxin-elements / phpcs.xml
auxin-elements Last commit date
admin 3 years ago includes 3 years ago languages 3 years ago public 3 years ago vendor 7 years ago README.txt 3 years ago auxin-elements.php 3 years ago index.php 9 years ago package-lock.json 5 years ago phpcs.xml 3 years ago uninstall.php 4 years ago wpml-config.xml 4 years ago
phpcs.xml
142 lines
1 <?xml version="1.0"?>
2 <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Example Project" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
3
4 <description>A custom set of rules to check for a WPized WordPress project</description>
5
6
7 <!-- Exclude the Composer Vendor directory. -->
8 <exclude-pattern>/vendor/*</exclude-pattern>
9
10 <!-- Exclude the Node Modules directory. -->
11 <exclude-pattern>/node_modules/*</exclude-pattern>
12
13 <!-- Exclude the build directory. -->
14 <exclude-pattern>/build/*</exclude-pattern>
15
16 <!-- Exclude minified Javascript files. -->
17 <exclude-pattern>*.min.js</exclude-pattern>
18
19 <!-- ... -->
20 <arg value="ps"/>
21 <arg name="colors"/>
22 <arg name="parallel" value="100"/>
23 <arg name="extensions" value="php"/>
24 <!-- ... -->
25
26
27 <!-- Include the WordPress-Extra standard. -->
28 <rule ref="WordPress-Extra">
29 <!--
30 We may want a middle ground though. The best way to do this is add the
31 entire ruleset, then rule by rule, remove ones that don't suit a project.
32 We can do this by running `phpcs` with the '-s' flag, which allows us to
33 see the names of the sniffs reporting errors.
34 Once we know the sniff names, we can opt to exclude sniffs which don't
35 suit our project like so.
36
37 The below two examples just show how you can exclude rules.
38 They are not intended as advice about which sniffs to exclude.
39 -->
40
41 <!--
42 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing"/>
43 <exclude name="WordPress.Security.EscapeOutput"/>
44 -->
45 <exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" />
46 <exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
47 <exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
48 <exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
49 <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace" />
50 <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword" />
51 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen" />
52 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis" />
53 <exclude name="Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma" />
54 <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
55 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket" />
56 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket" />
57 <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine" />
58 <exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" />
59 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis" />
60 <exclude name="Generic.Arrays.DisallowLongArraySyntax.Found" />
61 <exclude name="Squiz.Strings.ConcatenationSpacing.PaddingFound" />
62 <exclude name="Generic.WhiteSpace.ArbitraryParenthesesSpacing.SpaceBeforeClose" />
63 <exclude name="WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceAfterArrayOpener" />
64 <exclude name="WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter" />
65 <exclude name="WordPress.WhiteSpace.DisallowInlineTabs.NonIndentTabsUsed" />
66 <exclude name="WordPress.Arrays.CommaAfterArrayItem.NoComma" />
67 <exclude name="WordPress.WP.I18n.NonSingularStringLiteralDomain" />
68 <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
69 <exclude name="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
70 <exclude name="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma" />
71 <exclude name="WordPress.Arrays.ArrayDeclarationSpacing.SpaceBeforeArrayCloser" />
72 <exclude name="Generic.Files.EndFileNewline.NotFound" />
73 <exclude name="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound" />
74 <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
75 <exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
76 <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
77 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis" />
78 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis" />
79 <exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
80 <exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys" />
81 <exclude name="WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceBeforeArrayCloser" />
82 <exclude name="WordPress.Classes.ClassInstantiation.MissingParenthesis" />
83 <exclude name="WordPress.Arrays.ArrayIndentation.ItemNotAligned" />
84 <exclude name="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma" />
85 <exclude name="WordPress.Arrays.CommaAfterArrayItem.SpaceBeforeComma" />
86 <exclude name="WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine" />
87 <exclude name="WordPress.PHP.DontExtract.extract_extract" />
88 <exclude name="WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned" />
89
90 <exclude name="Squiz.PHP.DisallowMultipleAssignments.FoundInControlStructure" />
91 <exclude name="WordPress.PHP.YodaConditions.NotYoda" />
92 </rule>
93
94 <!-- Let's also check that everything is properly documented. -->
95 <!-- <rule ref="WordPress-Docs"/> -->
96
97 <!-- Add in some extra rules from other standards. -->
98 <!-- <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
99 <rule ref="Generic.Commenting.Todo"/> -->
100
101 <!-- Check for PHP cross-version compatibility. -->
102 <!--
103 To enable this, the PHPCompatibilityWP standard needs
104 to be installed.
105 See the readme for installation instructions:
106 https://github.com/PHPCompatibility/PHPCompatibilityWP
107 For more information, also see:
108 https://github.com/PHPCompatibility/PHPCompatibility
109 -->
110 <!--
111 <config name="testVersion" value="5.2-"/>
112 <rule ref="PHPCompatibilityWP"/>
113 -->
114
115 <!--
116 To get the optimal benefits of using WPCS, we should add a couple of
117 custom properties.
118 Adjust the values of these properties to fit our needs.
119
120 For information on additional custom properties available, check out
121 the wiki:
122 https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
123 -->
124 <config name="minimum_supported_wp_version" value="4.6"/>
125
126 <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
127 <properties>
128 <property name="prefixes" type="array">
129 <element value="auxin"/>
130 <element value="auxels"/>
131 </property>
132 </properties>
133 </rule>
134
135 <!-- ... -->
136 <!-- Allow short array syntax -->
137 <rule ref="Generic.Arrays.DisallowShortArraySyntax.Found">
138 <severity>0</severity>
139 </rule>
140 <!-- ... -->
141 </ruleset>
142