Subversion Repository Public Repository

Nextrek

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0"?>
<ruleset name="phpseclib Standard">

 <description>phpseclib coding standard</description>

 <!-- We are using the PEAR standard as a base -->
 <rule ref="PEAR">
   <!-- Temporary exceptions to the PEAR standard follow -->
   <exclude name="Generic.ControlStructures.InlineControlStructure.Discouraged" />
   <exclude name="Generic.Files.LineLength.TooLong" />
   <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital" />
   <exclude name="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps" />
   <exclude name="PEAR.Commenting.ClassComment.InvalidVersion" />
   <exclude name="PEAR.Commenting.ClassComment.MissingTag" />
   <exclude name="PEAR.Commenting.FileComment.EmptyCopyright" />
   <exclude name="PEAR.Commenting.FileComment.InvalidVersion" />
   <exclude name="PEAR.Commenting.FunctionComment.ExtraParamComment" />
   <exclude name="PEAR.Commenting.FunctionComment.MissingReturn" />
   <exclude name="PEAR.Commenting.FunctionComment.MissingParamComment" />
   <exclude name="PEAR.Commenting.FunctionComment.MissingParamName" />
   <exclude name="PEAR.Commenting.FunctionComment.MissingParamTag" />
   <exclude name="PEAR.Commenting.FunctionComment.ParameterCommentsNotAligned" />
   <exclude name="PEAR.Commenting.FunctionComment.ParameterNamesNotAligned" />
   <exclude name="PEAR.Commenting.FunctionComment.ParamNameNoMatch" />
   <exclude name="PEAR.Commenting.FunctionComment.SpacingAfterParams" />
   <exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeParams" />
   <exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeTags" />
   <exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
   <exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
   <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket" />
   <exclude name="PEAR.WhiteSpace.ScopeClosingBrace.BreakIdent" />
   <exclude name="PEAR.WhiteSpace.ScopeClosingBrace.Indent" />
   <exclude name="PEAR.WhiteSpace.ScopeClosingBrace.Line" />
   <exclude name="PEAR.WhiteSpace.ScopeIndent.Incorrect" />
 </rule>

 <!-- Useful additional rules follow -->

 <!-- "for (; bar; )" should be "while (bar)" instead -->
 <rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />

 <!-- A method MUST not only call its parent -->
 <rule ref="Generic.CodeAnalysis.UselessOverridingMethod" />

 <!-- All code files MUST use only UTF-8 without BOM. -->
 <rule ref="Generic.Files.ByteOrderMark" />

 <!-- Each file MUST end with exactly one newline character -->
 <rule ref="PSR2.Files.EndFileNewline" />

 <!-- In the argument list, there MUST NOT be a space before each comma,
      and there MUST be one space after each comma. -->
 <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
  <properties>
   <property name="equalsSpacing" value="1"/>
  </properties>
 </rule>
 <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint" />

 <!-- There MUST NOT be trailing whitespace at the end of lines. -->
 <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />

 <!-- There MUST NOT be whitespace before the first content of a file -->
 <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile" />

 <!-- There MUST NOT be whitespace after the last content of a file -->
 <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndFile" />

 <!-- Functions MUST NOT contain multiple empty lines in a row -->
 <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />

 <!-- The ?> closing tag MUST be omitted from files containing only PHP. -->
 <rule ref="Zend.Files.ClosingTag" />

</ruleset>

Commits for Nextrek/Aiba_backup/vendor/phpseclib/phpseclib/build/code-sniffer-ruleset.xml

Diff revisions: vs.
Revision Author Commited Message
1464 MOliva picture MOliva Tue 13 Oct, 2020 11:16:56 +0000