Completed
Branch feature/scrutinizer-run-tests (1e751c)
by Juliette
04:12
created
Sniffs/PHP/RequiredOptionalFunctionParametersSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Returns an array of tokens this test wants to listen for.
50 50
      *
51
-     * @return array
51
+     * @return integer[]
52 52
      */
53 53
     public function register()
54 54
     {
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.
Tests/BaseSniffTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      * Assert no violation (warning or error) on a given line number
174 174
      *
175 175
      * @param PHP_CodeSniffer_File $file Codesniffer File object
176
-     * @param mixed $lineNumber Line number
176
+     * @param integer $lineNumber Line number
177 177
      * @return bool
178 178
      */
179 179
     public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0)
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Gather all messages or a particular type by line number.
264 264
      *
265
-     * @param array $IssuesArray Array of a particular type of issues,
265
+     * @param array $issuesArray Array of a particular type of issues,
266 266
 	 *                           i.e. errors or warnings.
267 267
      * @return array
268 268
      */
Please login to merge, or discard this patch.
Tests/Sniffs/PHP/ParameterShadowSuperGlobalsSniffTest.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,6 @@
 block discarded – undo
26 26
      * @dataProvider dataParameterShadowSuperGlobals
27 27
      *
28 28
      * @param int    $line  Line number where the error should occur.
29
-     * @param string $octal (Start of) Binary number as a string.
30
-     * @param bool   $testNoViolation Whether or not to test for noViolation.
31
-     *               Defaults to true. Set to false if another error is
32
-     *               expected on the same line (invalid binary)
33 29
      *
34 30
      * @return void
35 31
      */
Please login to merge, or discard this patch.
Tests/Sniffs/PHP/ValidIntegersSniffTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
      * @dataProvider dataBinaryInteger
47 47
      *
48 48
      * @param int    $line  Line number where the error should occur.
49
-     * @param string $octal (Start of) Binary number as a string.
50 49
      * @param bool   $testNoViolation Whether or not to test for noViolation.
51 50
      *               Defaults to true. Set to false if another error is
52 51
      *               expected on the same line (invalid binary)
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Returns an array of tokens this test wants to listen for.
50 50
      *
51
-     * @return array
51
+     * @return integer[]
52 52
      */
53 53
     public function register()
54 54
     {
Please login to merge, or discard this patch.
Sniffs/PHP/DeprecatedFunctionsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Returns an array of tokens this test wants to listen for.
50 50
      *
51
-     * @return array
51
+     * @return integer[]
52 52
      */
53 53
     public function register()
54 54
     {
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Returns an array of tokens this test wants to listen for.
50 50
      *
51
-     * @return array
51
+     * @return integer[]
52 52
      */
53 53
     public function register()
54 54
     {
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Returns an array of tokens this test wants to listen for.
50 50
      *
51
-     * @return array
51
+     * @return integer[]
52 52
      */
53 53
     public function register()
54 54
     {
Please login to merge, or discard this patch.