@@ -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 |
@@ -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 | - 5 => 1, |
|
| 31 | - 6 => 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 | + 5 => 1, |
|
| 31 | + 6 => 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,43 +15,43 @@ |
||
| 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 | - 6 => 1, |
|
| 32 | - 7 => 1, |
|
| 33 | - 8 => 1, |
|
| 34 | - 9 => 1, |
|
| 35 | - 15 => 1, |
|
| 36 | - 16 => 1, |
|
| 37 | - ]; |
|
| 38 | - |
|
| 39 | - }//end getErrorList() |
|
| 40 | - |
|
| 41 | - |
|
| 42 | - /** |
|
| 43 | - * Returns the lines where warnings should occur. |
|
| 44 | - * |
|
| 45 | - * The key of the array should represent the line number and the value |
|
| 46 | - * should represent the number of warnings that should occur on that line. |
|
| 47 | - * |
|
| 48 | - * @return array<int, int> |
|
| 49 | - */ |
|
| 50 | - public function getWarningList() |
|
| 51 | - { |
|
| 52 | - return []; |
|
| 53 | - |
|
| 54 | - }//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 | + 6 => 1, |
|
| 32 | + 7 => 1, |
|
| 33 | + 8 => 1, |
|
| 34 | + 9 => 1, |
|
| 35 | + 15 => 1, |
|
| 36 | + 16 => 1, |
|
| 37 | + ]; |
|
| 38 | + |
|
| 39 | + }//end getErrorList() |
|
| 40 | + |
|
| 41 | + |
|
| 42 | + /** |
|
| 43 | + * Returns the lines where warnings should occur. |
|
| 44 | + * |
|
| 45 | + * The key of the array should represent the line number and the value |
|
| 46 | + * should represent the number of warnings that should occur on that line. |
|
| 47 | + * |
|
| 48 | + * @return array<int, int> |
|
| 49 | + */ |
|
| 50 | + public function getWarningList() |
|
| 51 | + { |
|
| 52 | + return []; |
|
| 53 | + |
|
| 54 | + }//end getWarningList() |
|
| 55 | 55 | |
| 56 | 56 | |
| 57 | 57 | }//end class |
@@ -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 | - 3 => 1, |
|
| 30 | - 4 => 1, |
|
| 31 | - 8 => 1, |
|
| 32 | - 10 => 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 | + 3 => 1, |
|
| 30 | + 4 => 1, |
|
| 31 | + 8 => 1, |
|
| 32 | + 10 => 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,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 | - 4 => 1, |
|
| 31 | - 6 => 1, |
|
| 32 | - 12 => 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 | + 4 => 1, |
|
| 31 | + 6 => 1, |
|
| 32 | + 12 => 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 |