Loading coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php +0 −2 Original line number Diff line number Diff line Loading @@ -1053,8 +1053,6 @@ class FunctionCommentSniff implements Sniff return true; }//end while return false; }//end isAliasedType() Loading coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ class ScopeIndentSniff implements Sniff * or PHP open/close tags can escape from here and have their own * rules elsewhere. * * @var int[] * @var array<int, int|string> */ public $ignoreIndentationTokens = []; Loading coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { switch ($testFile) { case 'ArrayUnitTest.inc': Loading Loading @@ -51,7 +51,7 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { switch ($testFile) { case 'ArrayUnitTest.inc': Loading coder_sniffer/Drupal/Test/Arrays/DisallowLongArraySyntaxUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { switch ($testFile) { case 'DisallowLongArraySyntaxUnitTest.2.inc': Loading @@ -41,7 +41,7 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { return []; Loading coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { return [ 3 => 1, Loading Loading @@ -49,7 +49,7 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { return []; Loading Loading
coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php +0 −2 Original line number Diff line number Diff line Loading @@ -1053,8 +1053,6 @@ class FunctionCommentSniff implements Sniff return true; }//end while return false; }//end isAliasedType() Loading
coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ class ScopeIndentSniff implements Sniff * or PHP open/close tags can escape from here and have their own * rules elsewhere. * * @var int[] * @var array<int, int|string> */ public $ignoreIndentationTokens = []; Loading
coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { switch ($testFile) { case 'ArrayUnitTest.inc': Loading Loading @@ -51,7 +51,7 @@ class ArrayUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { switch ($testFile) { case 'ArrayUnitTest.inc': Loading
coder_sniffer/Drupal/Test/Arrays/DisallowLongArraySyntaxUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { switch ($testFile) { case 'DisallowLongArraySyntaxUnitTest.2.inc': Loading @@ -41,7 +41,7 @@ class DisallowLongArraySyntaxUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { return []; Loading
coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getErrorList(string $testFile) protected function getErrorList(string $testFile): array { return [ 3 => 1, Loading Loading @@ -49,7 +49,7 @@ class ClassCreateInstanceUnitTest extends CoderSniffUnitTest * * @return array<int, int> */ protected function getWarningList(string $testFile) protected function getWarningList(string $testFile): array { return []; Loading