File tree 3 files changed +11
-7
lines changed
src/Standards/MySource/Tests/PHP
3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
29
29
- Squiz.Arrays.ArrayDeclaration now has improved handling of syntax errors
30
+ - Fixed bug #2368 : MySource.PHP.AjaxNullComparison throws error when first function has no doc comment
30
31
- Fixed bug #2414 : Indention false positive in switch/case/if combination
31
32
- Fixed bug #2423 : Squiz.Formatting.OperatorBracket.MissingBrackets error with static
32
33
- Fixed bug #2450 : Indentation false positive when closure containing nested IF conditions used as function argument
Original file line number Diff line number Diff line change 1
1
<?php
2
+
3
+ public static function foo () {
4
+ }
5
+
2
6
/**
3
7
* Adds a new issue.
4
8
*
@@ -176,4 +180,3 @@ public static function addIssue(
176
180
}
177
181
178
182
}//end addIssue()
179
- ?>
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ public function getErrorList()
41
41
public function getWarningList ()
42
42
{
43
43
return [
44
- 37 => 1 ,
45
- 49 => 1 ,
46
- 60 => 1 ,
47
- 73 => 1 ,
48
- 88 => 1 ,
49
- 118 => 1 ,
44
+ 41 => 1 ,
45
+ 53 => 1 ,
46
+ 64 => 1 ,
47
+ 77 => 1 ,
48
+ 92 => 1 ,
49
+ 122 => 1 ,
50
50
];
51
51
52
52
}//end getWarningList()
You can’t perform that action at this time.
0 commit comments