Completed
Push — php-7.1/252-new-keyed-lists-sn... ( 91aee0...2cc9a1 )
by Juliette
04:22 queued 02:27
created
PHPCompatibility/Sniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1106,7 +1106,7 @@
 block discarded – undo
1106 1106
      * @param \PHP_CodeSniffer_File $phpcsFile The file being scanned.
1107 1107
      * @param int                   $stackPtr  The position of the return type token.
1108 1108
      *
1109
-     * @return string|false The name of the return type token.
1109
+     * @return null|string The name of the return type token.
1110 1110
      */
1111 1111
     public function getReturnTypeHintName(\PHP_CodeSniffer_File $phpcsFile, $stackPtr)
1112 1112
     {
Please login to merge, or discard this patch.
PHPCompatibility/Sniffs/PHP/NewConstantScalarExpressionsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
      * @param int                   $end          The end of the value definition (inclusive),
348 348
      *                                            i.e. this token will be examined as part of
349 349
      *                                            the snippet.
350
-     * @param bool                  $nestedArrays Optional. Array nesting level when examining
350
+     * @param integer                  $nestedArrays Optional. Array nesting level when examining
351 351
      *                                            the content of an array.
352 352
      *
353 353
      * @return bool
Please login to merge, or discard this patch.
PHPCompatibility/Sniffs/Lists/NewKeyedListSniff.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      * @param int                   $start     The position of the list open token or a token
137 137
      *                                         within the list to start (resume) the examination from.
138 138
      * @param int                   $closer    The position of the list close token.
139
-     * @param array                 $targets   An array with one or more token constants to look for.
139
+     * @param integer[]                 $targets   An array with one or more token constants to look for.
140 140
      *
141 141
      * @return int|bool Stack pointer to the target token if encountered. False otherwise.
142 142
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace PHPCompatibility\Sniffs\Lists;
13 13
 
14 14
 use PHPCompatibility\Sniff;
15
-use PHPCompatibility\PHPCSHelper;
16 15
 
17 16
 /**
18 17
  * \PHPCompatibility\Sniffs\Lists\NewKeyedListSniff.
Please login to merge, or discard this patch.