Loading coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +4 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'ArrayUnitTest.inc': Loading Loading @@ -49,9 +49,9 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getWarningList($testFile=null) protected function getWarningList(string $testFile) { switch ($testFile) { case 'ArrayUnitTest.inc': Loading coder_sniffer/Drupal/Test/Arrays/DisallowLongArraySyntaxUnitTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'DisallowLongArraySyntaxUnitTest.2.inc': Loading @@ -37,9 +37,11 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.php +8 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of errors that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getErrorList() protected function getErrorList(string $testFile) { return [ 3 => 1, Loading @@ -43,9 +45,11 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading coder_sniffer/Drupal/Test/Classes/ClassDeclarationUnitTest.php +8 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ class ClassDeclarationUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of errors that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getErrorList() protected function getErrorList(string $testFile) { return [ 11 => 1, Loading @@ -33,9 +35,11 @@ class ClassDeclarationUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading coder_sniffer/Drupal/Test/Classes/ClassFileNameUnitTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'ClassFileNameUnitTest.php': Loading @@ -36,9 +36,11 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading Loading
coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +4 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'ArrayUnitTest.inc': Loading Loading @@ -49,9 +49,9 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getWarningList($testFile=null) protected function getWarningList(string $testFile) { switch ($testFile) { case 'ArrayUnitTest.inc': Loading
coder_sniffer/Drupal/Test/Arrays/DisallowLongArraySyntaxUnitTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'DisallowLongArraySyntaxUnitTest.2.inc': Loading @@ -37,9 +37,11 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading
coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.php +8 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of errors that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getErrorList() protected function getErrorList(string $testFile) { return [ 3 => 1, Loading @@ -43,9 +45,11 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading
coder_sniffer/Drupal/Test/Classes/ClassDeclarationUnitTest.php +8 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ class ClassDeclarationUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of errors that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getErrorList() protected function getErrorList(string $testFile) { return [ 11 => 1, Loading @@ -33,9 +35,11 @@ class ClassDeclarationUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading
coder_sniffer/Drupal/Test/Classes/ClassFileNameUnitTest.php +6 −4 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest * * @param string $testFile The name of the file being tested. * * @return array(int => int) * @return array<int, int> */ public function getErrorList($testFile=null) protected function getErrorList(string $testFile) { switch ($testFile) { case 'ClassFileNameUnitTest.php': Loading @@ -36,9 +36,11 @@ class ClassFileNameUnitTest extends CoderSniffUnitTest * The key of the array should represent the line number and the value * should represent the number of warnings that should occur on that line. * * @return array(int => int) * @param string $testFile The name of the file being tested. * * @return array<int, int> */ public function getWarningList() protected function getWarningList(string $testFile) { return []; Loading