Completed
Push — code-coverage ( 6825c7...df0a3a )
by Wim
02:49
created
Sniffs/PHP/DeprecatedFunctionsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/ForbiddenCallTimePassByReferenceSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/NewScalarTypeDeclarationsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/ConstantArraysUsingDefineSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Tests/BaseSniffTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * Assert no violation (warning or error) on a given line number
143 143
      *
144 144
      * @param PHP_CodeSniffer_File $file Codesniffer File object
145
-     * @param mixed $lineNumber Line number
145
+     * @param integer $lineNumber Line number
146 146
      * @return bool
147 147
      */
148 148
     public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0)
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     /**
232 232
      * Gather all messages or a particular type by line number.
233 233
      *
234
-     * @param array $IssuesArray Array of a particular type of issues,
234
+     * @param array $issuesArray Array of a particular type of issues,
235 235
 	 *                           i.e. errors or warnings.
236 236
      * @return array
237 237
      */
Please login to merge, or discard this patch.
Sniffs/PHP/NewInterfacesSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/NewFunctionParametersSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/RemovedFunctionParametersSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniffs/PHP/ValidIntegersSniff.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Returns an array of tokens this test wants to listen for.
23 23
      *
24
-     * @return array
24
+     * @return integer[]
25 25
      */
26 26
     public function register()
27 27
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Could the current token an potentially be a binary integer ?
103 103
      *
104
-     * @param array $token    Token stack.
104
+     * @param array $tokens    Token stack.
105 105
      * @param int   $stackPtr The current position in the token stack.
106 106
      *
107 107
      * @return bool
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Is the current token an invalid binary integer ?
128 128
      *
129
-     * @param array $token    Token stack.
129
+     * @param array $tokens    Token stack.
130 130
      * @param int   $stackPtr The current position in the token stack.
131 131
      *
132 132
      * @return bool
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * Retrieve the content of the tokens which together look like a binary integer.
150 150
      *
151 151
      * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
152
-     * @param array                $token     Token stack.
152
+     * @param array                $tokens     Token stack.
153 153
      * @param int                  $stackPtr  The position of the current token in
154 154
      *                                        the stack.
155 155
      *
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Is the current token an invalid octal integer ?
174 174
      *
175
-     * @param array $token    Token stack.
175
+     * @param array $tokens    Token stack.
176 176
      * @param int   $stackPtr The current position in the token stack.
177 177
      *
178 178
      * @return bool
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * Is the current token a hexidecimal numeric string ?
192 192
      *
193
-     * @param array $token    Token stack.
193
+     * @param array $tokens    Token stack.
194 194
      * @param int   $stackPtr The current position in the token stack.
195 195
      *
196 196
      * @return bool
Please login to merge, or discard this patch.