@@ -15,37 +15,37 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return [ |
|
| 29 | - 55 => 1, |
|
| 30 | - 68 => 1, |
|
| 31 | - ]; |
|
| 32 | - |
|
| 33 | - }//end getErrorList() |
|
| 34 | - |
|
| 35 | - |
|
| 36 | - /** |
|
| 37 | - * Returns the lines where warnings should occur. |
|
| 38 | - * |
|
| 39 | - * The key of the array should represent the line number and the value |
|
| 40 | - * should represent the number of warnings that should occur on that line. |
|
| 41 | - * |
|
| 42 | - * @return array<int, int> |
|
| 43 | - */ |
|
| 44 | - public function getWarningList() |
|
| 45 | - { |
|
| 46 | - return []; |
|
| 47 | - |
|
| 48 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return [ |
|
| 29 | + 55 => 1, |
|
| 30 | + 68 => 1, |
|
| 31 | + ]; |
|
| 32 | + |
|
| 33 | + }//end getErrorList() |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + /** |
|
| 37 | + * Returns the lines where warnings should occur. |
|
| 38 | + * |
|
| 39 | + * The key of the array should represent the line number and the value |
|
| 40 | + * should represent the number of warnings that should occur on that line. |
|
| 41 | + * |
|
| 42 | + * @return array<int, int> |
|
| 43 | + */ |
|
| 44 | + public function getWarningList() |
|
| 45 | + { |
|
| 46 | + return []; |
|
| 47 | + |
|
| 48 | + }//end getWarningList() |
|
| 49 | 49 | |
| 50 | 50 | |
| 51 | 51 | }//end class |
@@ -3,12 +3,12 @@ |
||
| 3 | 3 | |
| 4 | 4 | class MyClass |
| 5 | 5 | { |
| 6 | - function func1() {} |
|
| 6 | + function func1() {} |
|
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | interface MyInterface |
| 10 | 10 | { |
| 11 | - function func1() {} |
|
| 11 | + function func1() {} |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | function __autoload($class) {} |
@@ -13,5 +13,5 @@ |
||
| 13 | 13 | |
| 14 | 14 | function __autoload($class) {} |
| 15 | 15 | |
| 16 | -echo preg_replace_callback('~-([a-z])~', function ($match) { return strtoupper($match[1]); }, 'hello-world'); |
|
| 16 | +echo preg_replace_callback('~-([a-z])~', function($match) { return strtoupper($match[1]); }, 'hello-world'); |
|
| 17 | 17 | ?> |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @return array<int, int> |
| 27 | 27 | */ |
| 28 | - public function getErrorList($testFile='MultiLineFunctionDeclarationUnitTest.inc') |
|
| 28 | + public function getErrorList($testFile = 'MultiLineFunctionDeclarationUnitTest.inc') |
|
| 29 | 29 | { |
| 30 | 30 | if ($testFile === 'MultiLineFunctionDeclarationUnitTest.inc') { |
| 31 | 31 | $errors = [ |
@@ -15,99 +15,99 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @param string $testFile The name of the file being tested. |
|
| 25 | - * |
|
| 26 | - * @return array<int, int> |
|
| 27 | - */ |
|
| 28 | - public function getErrorList($testFile='MultiLineFunctionDeclarationUnitTest.inc') |
|
| 29 | - { |
|
| 30 | - if ($testFile === 'MultiLineFunctionDeclarationUnitTest.inc') { |
|
| 31 | - $errors = [ |
|
| 32 | - 2 => 1, |
|
| 33 | - 3 => 1, |
|
| 34 | - 4 => 2, |
|
| 35 | - 5 => 1, |
|
| 36 | - 7 => 1, |
|
| 37 | - 11 => 1, |
|
| 38 | - 12 => 1, |
|
| 39 | - 13 => 1, |
|
| 40 | - 16 => 1, |
|
| 41 | - 36 => 1, |
|
| 42 | - 43 => 2, |
|
| 43 | - 48 => 1, |
|
| 44 | - 81 => 1, |
|
| 45 | - 82 => 2, |
|
| 46 | - 88 => 1, |
|
| 47 | - 102 => 2, |
|
| 48 | - 137 => 1, |
|
| 49 | - 141 => 2, |
|
| 50 | - 142 => 1, |
|
| 51 | - 158 => 1, |
|
| 52 | - 160 => 1, |
|
| 53 | - 182 => 2, |
|
| 54 | - 186 => 2, |
|
| 55 | - 190 => 2, |
|
| 56 | - 194 => 1, |
|
| 57 | - 195 => 1, |
|
| 58 | - 233 => 1, |
|
| 59 | - 234 => 1, |
|
| 60 | - 235 => 1, |
|
| 61 | - 236 => 1, |
|
| 62 | - 244 => 1, |
|
| 63 | - 245 => 1, |
|
| 64 | - 246 => 1, |
|
| 65 | - 247 => 1, |
|
| 66 | - 248 => 1, |
|
| 67 | - 249 => 1, |
|
| 68 | - 250 => 1, |
|
| 69 | - 251 => 1, |
|
| 70 | - 252 => 1, |
|
| 71 | - 253 => 1, |
|
| 72 | - 254 => 1, |
|
| 73 | - ]; |
|
| 74 | - } else { |
|
| 75 | - $errors = [ |
|
| 76 | - 2 => 1, |
|
| 77 | - 3 => 1, |
|
| 78 | - 4 => 2, |
|
| 79 | - 5 => 1, |
|
| 80 | - 7 => 1, |
|
| 81 | - 11 => 1, |
|
| 82 | - 12 => 1, |
|
| 83 | - 13 => 1, |
|
| 84 | - 16 => 1, |
|
| 85 | - 26 => 1, |
|
| 86 | - 36 => 1, |
|
| 87 | - 43 => 2, |
|
| 88 | - 48 => 1, |
|
| 89 | - 65 => 1, |
|
| 90 | - ]; |
|
| 91 | - }//end if |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @param string $testFile The name of the file being tested. |
|
| 25 | + * |
|
| 26 | + * @return array<int, int> |
|
| 27 | + */ |
|
| 28 | + public function getErrorList($testFile='MultiLineFunctionDeclarationUnitTest.inc') |
|
| 29 | + { |
|
| 30 | + if ($testFile === 'MultiLineFunctionDeclarationUnitTest.inc') { |
|
| 31 | + $errors = [ |
|
| 32 | + 2 => 1, |
|
| 33 | + 3 => 1, |
|
| 34 | + 4 => 2, |
|
| 35 | + 5 => 1, |
|
| 36 | + 7 => 1, |
|
| 37 | + 11 => 1, |
|
| 38 | + 12 => 1, |
|
| 39 | + 13 => 1, |
|
| 40 | + 16 => 1, |
|
| 41 | + 36 => 1, |
|
| 42 | + 43 => 2, |
|
| 43 | + 48 => 1, |
|
| 44 | + 81 => 1, |
|
| 45 | + 82 => 2, |
|
| 46 | + 88 => 1, |
|
| 47 | + 102 => 2, |
|
| 48 | + 137 => 1, |
|
| 49 | + 141 => 2, |
|
| 50 | + 142 => 1, |
|
| 51 | + 158 => 1, |
|
| 52 | + 160 => 1, |
|
| 53 | + 182 => 2, |
|
| 54 | + 186 => 2, |
|
| 55 | + 190 => 2, |
|
| 56 | + 194 => 1, |
|
| 57 | + 195 => 1, |
|
| 58 | + 233 => 1, |
|
| 59 | + 234 => 1, |
|
| 60 | + 235 => 1, |
|
| 61 | + 236 => 1, |
|
| 62 | + 244 => 1, |
|
| 63 | + 245 => 1, |
|
| 64 | + 246 => 1, |
|
| 65 | + 247 => 1, |
|
| 66 | + 248 => 1, |
|
| 67 | + 249 => 1, |
|
| 68 | + 250 => 1, |
|
| 69 | + 251 => 1, |
|
| 70 | + 252 => 1, |
|
| 71 | + 253 => 1, |
|
| 72 | + 254 => 1, |
|
| 73 | + ]; |
|
| 74 | + } else { |
|
| 75 | + $errors = [ |
|
| 76 | + 2 => 1, |
|
| 77 | + 3 => 1, |
|
| 78 | + 4 => 2, |
|
| 79 | + 5 => 1, |
|
| 80 | + 7 => 1, |
|
| 81 | + 11 => 1, |
|
| 82 | + 12 => 1, |
|
| 83 | + 13 => 1, |
|
| 84 | + 16 => 1, |
|
| 85 | + 26 => 1, |
|
| 86 | + 36 => 1, |
|
| 87 | + 43 => 2, |
|
| 88 | + 48 => 1, |
|
| 89 | + 65 => 1, |
|
| 90 | + ]; |
|
| 91 | + }//end if |
|
| 92 | 92 | |
| 93 | - return $errors; |
|
| 93 | + return $errors; |
|
| 94 | 94 | |
| 95 | - }//end getErrorList() |
|
| 95 | + }//end getErrorList() |
|
| 96 | 96 | |
| 97 | 97 | |
| 98 | - /** |
|
| 99 | - * Returns the lines where warnings should occur. |
|
| 100 | - * |
|
| 101 | - * The key of the array should represent the line number and the value |
|
| 102 | - * should represent the number of warnings that should occur on that line. |
|
| 103 | - * |
|
| 104 | - * @return array<int, int> |
|
| 105 | - */ |
|
| 106 | - public function getWarningList() |
|
| 107 | - { |
|
| 108 | - return []; |
|
| 98 | + /** |
|
| 99 | + * Returns the lines where warnings should occur. |
|
| 100 | + * |
|
| 101 | + * The key of the array should represent the line number and the value |
|
| 102 | + * should represent the number of warnings that should occur on that line. |
|
| 103 | + * |
|
| 104 | + * @return array<int, int> |
|
| 105 | + */ |
|
| 106 | + public function getWarningList() |
|
| 107 | + { |
|
| 108 | + return []; |
|
| 109 | 109 | |
| 110 | - }//end getWarningList() |
|
| 110 | + }//end getWarningList() |
|
| 111 | 111 | |
| 112 | 112 | |
| 113 | 113 | }//end class |
@@ -15,38 +15,38 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return [ |
|
| 29 | - 2 => 1, |
|
| 30 | - 4 => 2, |
|
| 31 | - 5 => 1, |
|
| 32 | - ]; |
|
| 33 | - |
|
| 34 | - }//end getErrorList() |
|
| 35 | - |
|
| 36 | - |
|
| 37 | - /** |
|
| 38 | - * Returns the lines where warnings should occur. |
|
| 39 | - * |
|
| 40 | - * The key of the array should represent the line number and the value |
|
| 41 | - * should represent the number of warnings that should occur on that line. |
|
| 42 | - * |
|
| 43 | - * @return array<int, int> |
|
| 44 | - */ |
|
| 45 | - public function getWarningList() |
|
| 46 | - { |
|
| 47 | - return []; |
|
| 48 | - |
|
| 49 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return [ |
|
| 29 | + 2 => 1, |
|
| 30 | + 4 => 2, |
|
| 31 | + 5 => 1, |
|
| 32 | + ]; |
|
| 33 | + |
|
| 34 | + }//end getErrorList() |
|
| 35 | + |
|
| 36 | + |
|
| 37 | + /** |
|
| 38 | + * Returns the lines where warnings should occur. |
|
| 39 | + * |
|
| 40 | + * The key of the array should represent the line number and the value |
|
| 41 | + * should represent the number of warnings that should occur on that line. |
|
| 42 | + * |
|
| 43 | + * @return array<int, int> |
|
| 44 | + */ |
|
| 45 | + public function getWarningList() |
|
| 46 | + { |
|
| 47 | + return []; |
|
| 48 | + |
|
| 49 | + }//end getWarningList() |
|
| 50 | 50 | |
| 51 | 51 | |
| 52 | 52 | }//end class |
@@ -15,34 +15,34 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return []; |
|
| 29 | - |
|
| 30 | - }//end getErrorList() |
|
| 31 | - |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * Returns the lines where warnings should occur. |
|
| 35 | - * |
|
| 36 | - * The key of the array should represent the line number and the value |
|
| 37 | - * should represent the number of warnings that should occur on that line. |
|
| 38 | - * |
|
| 39 | - * @return array<int, int> |
|
| 40 | - */ |
|
| 41 | - public function getWarningList() |
|
| 42 | - { |
|
| 43 | - return [2 => 1]; |
|
| 44 | - |
|
| 45 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return []; |
|
| 29 | + |
|
| 30 | + }//end getErrorList() |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * Returns the lines where warnings should occur. |
|
| 35 | + * |
|
| 36 | + * The key of the array should represent the line number and the value |
|
| 37 | + * should represent the number of warnings that should occur on that line. |
|
| 38 | + * |
|
| 39 | + * @return array<int, int> |
|
| 40 | + */ |
|
| 41 | + public function getWarningList() |
|
| 42 | + { |
|
| 43 | + return [2 => 1]; |
|
| 44 | + |
|
| 45 | + }//end getWarningList() |
|
| 46 | 46 | |
| 47 | 47 | |
| 48 | 48 | }//end class |
@@ -15,45 +15,45 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @param string $testFile The name of the file being tested. |
|
| 25 | - * |
|
| 26 | - * @return array<int, int> |
|
| 27 | - */ |
|
| 28 | - public function getErrorList($testFile='DisallowObjectStringIndexUnitTest.js') |
|
| 29 | - { |
|
| 30 | - if ($testFile !== 'DisallowObjectStringIndexUnitTest.js') { |
|
| 31 | - return []; |
|
| 32 | - } |
|
| 33 | - |
|
| 34 | - return [ |
|
| 35 | - 13 => 1, |
|
| 36 | - 17 => 1, |
|
| 37 | - 25 => 1, |
|
| 38 | - 35 => 1, |
|
| 39 | - ]; |
|
| 40 | - |
|
| 41 | - }//end getErrorList() |
|
| 42 | - |
|
| 43 | - |
|
| 44 | - /** |
|
| 45 | - * Returns the lines where warnings should occur. |
|
| 46 | - * |
|
| 47 | - * The key of the array should represent the line number and the value |
|
| 48 | - * should represent the number of warnings that should occur on that line. |
|
| 49 | - * |
|
| 50 | - * @return array<int, int> |
|
| 51 | - */ |
|
| 52 | - public function getWarningList() |
|
| 53 | - { |
|
| 54 | - return []; |
|
| 55 | - |
|
| 56 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @param string $testFile The name of the file being tested. |
|
| 25 | + * |
|
| 26 | + * @return array<int, int> |
|
| 27 | + */ |
|
| 28 | + public function getErrorList($testFile='DisallowObjectStringIndexUnitTest.js') |
|
| 29 | + { |
|
| 30 | + if ($testFile !== 'DisallowObjectStringIndexUnitTest.js') { |
|
| 31 | + return []; |
|
| 32 | + } |
|
| 33 | + |
|
| 34 | + return [ |
|
| 35 | + 13 => 1, |
|
| 36 | + 17 => 1, |
|
| 37 | + 25 => 1, |
|
| 38 | + 35 => 1, |
|
| 39 | + ]; |
|
| 40 | + |
|
| 41 | + }//end getErrorList() |
|
| 42 | + |
|
| 43 | + |
|
| 44 | + /** |
|
| 45 | + * Returns the lines where warnings should occur. |
|
| 46 | + * |
|
| 47 | + * The key of the array should represent the line number and the value |
|
| 48 | + * should represent the number of warnings that should occur on that line. |
|
| 49 | + * |
|
| 50 | + * @return array<int, int> |
|
| 51 | + */ |
|
| 52 | + public function getWarningList() |
|
| 53 | + { |
|
| 54 | + return []; |
|
| 55 | + |
|
| 56 | + }//end getWarningList() |
|
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | }//end class |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @return array<int, int> |
| 27 | 27 | */ |
| 28 | - public function getErrorList($testFile='DisallowObjectStringIndexUnitTest.js') |
|
| 28 | + public function getErrorList($testFile = 'DisallowObjectStringIndexUnitTest.js') |
|
| 29 | 29 | { |
| 30 | 30 | if ($testFile !== 'DisallowObjectStringIndexUnitTest.js') { |
| 31 | 31 | return []; |
@@ -15,39 +15,39 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return [ |
|
| 29 | - 2 => 1, |
|
| 30 | - 3 => 1, |
|
| 31 | - 5 => 2, |
|
| 32 | - 11 => 1, |
|
| 33 | - ]; |
|
| 34 | - |
|
| 35 | - }//end getErrorList() |
|
| 36 | - |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * Returns the lines where warnings should occur. |
|
| 40 | - * |
|
| 41 | - * The key of the array should represent the line number and the value |
|
| 42 | - * should represent the number of warnings that should occur on that line. |
|
| 43 | - * |
|
| 44 | - * @return array<int, int> |
|
| 45 | - */ |
|
| 46 | - public function getWarningList() |
|
| 47 | - { |
|
| 48 | - return []; |
|
| 49 | - |
|
| 50 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return [ |
|
| 29 | + 2 => 1, |
|
| 30 | + 3 => 1, |
|
| 31 | + 5 => 2, |
|
| 32 | + 11 => 1, |
|
| 33 | + ]; |
|
| 34 | + |
|
| 35 | + }//end getErrorList() |
|
| 36 | + |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * Returns the lines where warnings should occur. |
|
| 40 | + * |
|
| 41 | + * The key of the array should represent the line number and the value |
|
| 42 | + * should represent the number of warnings that should occur on that line. |
|
| 43 | + * |
|
| 44 | + * @return array<int, int> |
|
| 45 | + */ |
|
| 46 | + public function getWarningList() |
|
| 47 | + { |
|
| 48 | + return []; |
|
| 49 | + |
|
| 50 | + }//end getWarningList() |
|
| 51 | 51 | |
| 52 | 52 | |
| 53 | 53 | }//end class |
@@ -15,40 +15,40 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return [ |
|
| 29 | - 2 => 1, |
|
| 30 | - 6 => 1, |
|
| 31 | - 7 => 1, |
|
| 32 | - 11 => 1, |
|
| 33 | - 12 => 1, |
|
| 34 | - ]; |
|
| 35 | - |
|
| 36 | - }//end getErrorList() |
|
| 37 | - |
|
| 38 | - |
|
| 39 | - /** |
|
| 40 | - * Returns the lines where warnings should occur. |
|
| 41 | - * |
|
| 42 | - * The key of the array should represent the line number and the value |
|
| 43 | - * should represent the number of warnings that should occur on that line. |
|
| 44 | - * |
|
| 45 | - * @return array<int, int> |
|
| 46 | - */ |
|
| 47 | - public function getWarningList() |
|
| 48 | - { |
|
| 49 | - return []; |
|
| 50 | - |
|
| 51 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return [ |
|
| 29 | + 2 => 1, |
|
| 30 | + 6 => 1, |
|
| 31 | + 7 => 1, |
|
| 32 | + 11 => 1, |
|
| 33 | + 12 => 1, |
|
| 34 | + ]; |
|
| 35 | + |
|
| 36 | + }//end getErrorList() |
|
| 37 | + |
|
| 38 | + |
|
| 39 | + /** |
|
| 40 | + * Returns the lines where warnings should occur. |
|
| 41 | + * |
|
| 42 | + * The key of the array should represent the line number and the value |
|
| 43 | + * should represent the number of warnings that should occur on that line. |
|
| 44 | + * |
|
| 45 | + * @return array<int, int> |
|
| 46 | + */ |
|
| 47 | + public function getWarningList() |
|
| 48 | + { |
|
| 49 | + return []; |
|
| 50 | + |
|
| 51 | + }//end getWarningList() |
|
| 52 | 52 | |
| 53 | 53 | |
| 54 | 54 | }//end class |
@@ -15,46 +15,46 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Returns the lines where errors should occur. |
|
| 20 | - * |
|
| 21 | - * The key of the array should represent the line number and the value |
|
| 22 | - * should represent the number of errors that should occur on that line. |
|
| 23 | - * |
|
| 24 | - * @return array<int, int> |
|
| 25 | - */ |
|
| 26 | - public function getErrorList() |
|
| 27 | - { |
|
| 28 | - return [ |
|
| 29 | - 3 => 1, |
|
| 30 | - 4 => 2, |
|
| 31 | - 5 => 1, |
|
| 32 | - 6 => 1, |
|
| 33 | - 8 => 1, |
|
| 34 | - 27 => 1, |
|
| 35 | - 28 => 1, |
|
| 36 | - 29 => 1, |
|
| 37 | - 30 => 1, |
|
| 38 | - 32 => 1, |
|
| 39 | - 41 => 1, |
|
| 40 | - ]; |
|
| 41 | - |
|
| 42 | - }//end getErrorList() |
|
| 43 | - |
|
| 44 | - |
|
| 45 | - /** |
|
| 46 | - * Returns the lines where warnings should occur. |
|
| 47 | - * |
|
| 48 | - * The key of the array should represent the line number and the value |
|
| 49 | - * should represent the number of warnings that should occur on that line. |
|
| 50 | - * |
|
| 51 | - * @return array<int, int> |
|
| 52 | - */ |
|
| 53 | - public function getWarningList() |
|
| 54 | - { |
|
| 55 | - return []; |
|
| 56 | - |
|
| 57 | - }//end getWarningList() |
|
| 18 | + /** |
|
| 19 | + * Returns the lines where errors should occur. |
|
| 20 | + * |
|
| 21 | + * The key of the array should represent the line number and the value |
|
| 22 | + * should represent the number of errors that should occur on that line. |
|
| 23 | + * |
|
| 24 | + * @return array<int, int> |
|
| 25 | + */ |
|
| 26 | + public function getErrorList() |
|
| 27 | + { |
|
| 28 | + return [ |
|
| 29 | + 3 => 1, |
|
| 30 | + 4 => 2, |
|
| 31 | + 5 => 1, |
|
| 32 | + 6 => 1, |
|
| 33 | + 8 => 1, |
|
| 34 | + 27 => 1, |
|
| 35 | + 28 => 1, |
|
| 36 | + 29 => 1, |
|
| 37 | + 30 => 1, |
|
| 38 | + 32 => 1, |
|
| 39 | + 41 => 1, |
|
| 40 | + ]; |
|
| 41 | + |
|
| 42 | + }//end getErrorList() |
|
| 43 | + |
|
| 44 | + |
|
| 45 | + /** |
|
| 46 | + * Returns the lines where warnings should occur. |
|
| 47 | + * |
|
| 48 | + * The key of the array should represent the line number and the value |
|
| 49 | + * should represent the number of warnings that should occur on that line. |
|
| 50 | + * |
|
| 51 | + * @return array<int, int> |
|
| 52 | + */ |
|
| 53 | + public function getWarningList() |
|
| 54 | + { |
|
| 55 | + return []; |
|
| 56 | + |
|
| 57 | + }//end getWarningList() |
|
| 58 | 58 | |
| 59 | 59 | |
| 60 | 60 | }//end class |