PluginProbe
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress / 8.5.79
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress v8.5.79
9.1.2 9.1.1 9.1.0 9.0.3 9.0.2 9.0.1 9.0.0 8.5.79 8.5.78 8.5.77 8.5.76 8.5.75 8.5.74 8.5.73 8.5.72 8.5.71 8.5.70 8.5.69 8.5.68 8.5.35 8.5.36 8.5.37 8.5.38 8.5.39 8.5.4 All 221 releases
wpvr / vc / wpvrelement / ci / ruleset.xml

ruleset.xml in WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress 8.5.79, at vc/wpvrelement/ci/ruleset.xml

89 lines 4.0 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="VC5">
3
4 <!--
5 The name attribute of the ruleset tag is displayed
6 when running PHP_CodeSniffer with the -v command line
7 argument. The description tag below is not displayed anywhere
8 except in this file, so it can contain information for
9 developers who may change this file in the future.
10 -->
11 <description>A custom coding standard</description>
12
13
14 <rule ref="PSR2">
15 <exclude name="Generic.Files.LineLength.TooLong" />
16 <exclude name="Squiz.WhiteSpace.ScopeClosingBrace.Indent"/>
17 <exclude name="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore"/>
18 <exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
19 </rule>
20 <rule ref="Generic.CodeAnalysis.EmptyStatement"/>
21 <rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
22 <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
23 <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
24 <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
25 <rule ref="Generic.ControlStructures.InlineControlStructure"/>
26 <rule ref="Generic.Formatting.DisallowMultipleStatements"/>
27 <rule ref="Generic.Formatting.NoSpaceAfterCast"/>
28 <rule ref="Generic.Functions.CallTimePassByReference"/>
29 <rule ref="Generic.Metrics.CyclomaticComplexity"/>
30 <rule ref="Generic.Metrics.NestingLevel"/>
31 <rule ref="Generic.NamingConventions.ConstructorName"/>
32 <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
33 <rule ref="Generic.NamingConventions.CamelCapsFunctionName"/>
34 <rule ref="Generic.PHP.DeprecatedFunctions"/>
35 <rule ref="Generic.PHP.DisallowShortOpenTag"/>
36 <rule ref="Generic.PHP.LowerCaseConstant"/>
37 <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
38 <rule ref="Generic.WhiteSpace.ScopeIndent"/>
39 <rule ref="PSR1.Classes.ClassDeclaration"/>
40 <rule ref="PSR2.Classes.ClassDeclaration"/>
41 <rule ref="PSR2.Classes.PropertyDeclaration"/>
42 <rule ref="PSR2.ControlStructures.ControlStructureSpacing"/>
43 <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
44 <rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
45 <rule ref="PSR2.Files.EndFileNewline"/>
46 <rule ref="PSR2.Methods.MethodDeclaration"/>
47 <rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
48 <rule ref="PSR2.Namespaces.UseDeclaration"/>
49 <rule ref="Squiz.PHP.DiscouragedFunctions"/>
50 <rule ref="Squiz.PHP.LowercasePHPFunctions"/>
51 <rule ref="Squiz.Scope.MemberVarScope"/>
52 <rule ref="Squiz.Scope.MethodScope"/>
53 <rule ref="Squiz.Scope.StaticThisUsage"/>
54 <rule ref="Squiz.WhiteSpace.CastSpacing"/>
55 <rule ref="Generic.PHP.NoSilencedErrors"/>
56 <rule ref="Squiz.PHP.Eval"/>
57 <rule ref="Zend.Files.ClosingTag"/>
58 <rule ref="Zend.NamingConventions.ValidVariableName">
59 <exclude name="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
60 </rule>
61 <rule ref="Squiz.Classes.ValidClassName">
62 <exclude-pattern>./visualcomposer/Requirements.php</exclude-pattern>
63 </rule>
64 <rule ref="PSR1.Classes.ClassDeclaration">
65 <exclude-pattern>./visualcomposer/Requirements.php</exclude-pattern>
66 </rule>
67 <rule ref="PSR2.Methods.FunctionCallSignature.Indent">
68 <exclude-pattern type="relative">./visualcomposer/resources/*</exclude-pattern>
69 </rule>
70 <rule ref="Internal.NoCodeFound">
71 <exclude-pattern type="relative">./visualcomposer/resources/*</exclude-pattern>
72 </rule>
73 <rule ref="Generic.WhiteSpace.DisallowTabIndent.TabsUsed">
74 <exclude-pattern type="relative">./visualcomposer/resources/*</exclude-pattern>
75 </rule>
76
77 <file>./visualcomposer</file>
78 <file>./bootstrap</file>
79 <file>./plugin-wordpress.php</file>
80 <rule ref="PSR1.Files.SideEffects">
81 <exclude-pattern type="relative">./plugin-wordpress.php</exclude-pattern>
82 <exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
83 </rule>
84
85 <exclude-pattern type="relative">tests/*</exclude-pattern>
86 <exclude-pattern type="relative">vendor/*</exclude-pattern>
87
88 <arg name="extensions" value="php"/>
89 </ruleset>