File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 4747 <exclude-pattern >*.tpl.php</exclude-pattern >
4848 </rule >
4949
50+ <!-- Generic sniffs -->
51+ <rule ref =" Generic.CodeAnalysis.EmptyPHPStatement" />
5052 <rule ref =" Generic.CodeAnalysis.UselessOverridingMethod" />
5153 <rule ref =" Generic.Files.ByteOrderMark" />
54+ <rule ref =" Generic.Files.LineEndings" />
5255 <rule ref =" Generic.Formatting.DisallowMultipleStatements" />
5356 <rule ref =" Generic.Formatting.SpaceAfterCast" />
54-
5557 <rule ref =" Generic.Functions.FunctionCallArgumentSpacing" />
58+ <!-- Already covered by Drupal.WhiteSpace.Comma.NoSpace. -->
5659 <rule ref =" Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma" >
5760 <severity >0</severity >
5861 </rule >
59-
6062 <rule ref =" Generic.NamingConventions.ConstructorName" />
6163 <rule ref =" Generic.NamingConventions.UpperCaseConstantName" />
6264 <rule ref =" Generic.PHP.DeprecatedFunctions" />
6567 <rule ref =" Generic.PHP.UpperCaseConstant" />
6668 <rule ref =" Generic.WhiteSpace.DisallowTabIndent" />
6769
68- <!-- Use Unix newlines -->
69- <rule ref =" Generic.Files.LineEndings" >
70- <properties >
71- <property name =" eolChar" value =" \n" />
72- </properties >
73- </rule >
74-
7570 <rule ref =" MySource.Debug.DebugCode" />
7671 <rule ref =" PEAR.Files.IncludingFile" />
7772 <!-- Disable some error messages that we do not want. -->
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ protected function getWarningList(string $testFile): array
434434 809 => 1 ,
435435 823 => 1 ,
436436 824 => 1 ,
437+ 836 => 1 ,
437438 ];
438439 }//end switch
439440
Original file line number Diff line number Diff line change @@ -884,7 +884,6 @@ function test28() {
884884
885885// Multiple statements on one line are not allowed.
886886echo 'Hi!';
887- ;
888887
889888/**
890889 *
You can’t perform that action at this time.
0 commit comments