PluginProbe
Authorizer / 3.14.1
Authorizer v3.14.1
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / phpcs.xml

phpcs.xml in Authorizer 3.14.1, at phpcs.xml

32 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?xml version="1.0"?>
2 <ruleset name="DCDC_WordPress">
3 <description>WordPress Coding Standards</description>
4
5 <!-- Use WordPress as a base -->
6 <rule ref="WordPress">
7 <!-- Allow: while ( have_posts() ) : the_post(); -->
8 <exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"/>
9
10 <!-- Disable overly picky rules -->
11 <exclude name="WordPress.WP.CapitalPDangit"/>
12 <exclude name="WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize"/>
13 <exclude name="WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize"/>
14
15 <!-- Allow function( 'something', array(
16 'something',
17 ) ); -->
18 <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"/>
19 <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine"/>
20 <exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments"/>
21 </rule>
22
23 <!-- Add custom sanitizing function(s). -->
24 <rule ref="WordPress.Security.ValidatedSanitizedInput">
25 <properties>
26 <property name="customSanitizingFunctions" type="array">
27 <element value="sanitize_update_auth_users" />
28 </property>
29 </properties>
30 </rule>
31 </ruleset>
32