-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathphpcs.xml
28 lines (26 loc) · 1.67 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<ruleset name="BlueprintStandard">
<description>PHP 7.0 compatibility.</description>
<config name="testVersion" value="7.0"/>
<!-- @TODO: Apply WordPress coding standards -->
<!-- <rule ref="WordPress">-->
<!-- <exclude name="Generic.Commenting.DocComment.MissingShort"/>-->
<!-- <exclude name="Squiz.Commenting.BlockComment.CloserSameLine"/>-->
<!-- <exclude name="Squiz.Commenting.ClassComment.Missing"/>-->
<!-- <exclude name="Squiz.Commenting.FileComment.WrongStyle"/>-->
<!-- <exclude name="Squiz.Commenting.FileComment.Missing"/>-->
<!-- <exclude name="Squiz.Commenting.FunctionComment.Missing"/>-->
<!-- <exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>-->
<!-- <exclude name="Squiz.Commenting.FunctionComment.MissingParamType"/>-->
<!-- <exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>-->
<!-- <exclude name="Squiz.Commenting.VariableComment.Missing"/>-->
<!-- <exclude name="Squiz.PHP.DisallowSizeFunctionsInLoops.Found"/>-->
<!-- <exclude name="WordPress.Files.FileName.InvalidClassFileName"/>-->
<!-- <exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>-->
<!-- <exclude name="WordPress.PHP.YodaConditions.NotYoda"/>-->
<!-- <exclude name="WordPress.Security.EscapeOutput.OutputNotEscaped"/>-->
<!-- <exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_fclose"/>-->
<!-- </rule>-->
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared"/>
</rule>
</ruleset>