Completed
Pull Request — master (#100)
by
unknown
02:30
created
Sniffs/PHP/DefaultTimezoneRequiredSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * Returns an array of tokens this test wants to listen for.
27 27
      * Maybe not ideal to do this on each open tag. But I don't feel like digging further into PHP_CodeSniffer right now
28 28
      *
29
-     * @return array
29
+     * @return integer[]
30 30
      */
31 31
     public function register()
32 32
     {
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
@@ -582,7 +582,7 @@
 block discarded – undo
582 582
     /**
583 583
      * Returns an array of tokens this test wants to listen for.
584 584
      *
585
-     * @return array
585
+     * @return integer[]
586 586
      */
587 587
     public function register()
588 588
     {
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
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Returns an array of tokens this test wants to listen for.
41 41
      *
42
-     * @return array
42
+     * @return integer[]
43 43
      */
44 44
     public function register()
45 45
     {
Please login to merge, or discard this patch.
Sniffs/PHP/NewClassesSniff.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     /**
202 202
      * Returns an array of tokens this test wants to listen for.
203 203
      *
204
-     * @return array
204
+     * @return integer[]
205 205
      */
206 206
     public function register()
207 207
     {
@@ -253,7 +253,6 @@  discard block
 block discarded – undo
253 253
      * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
254 254
      * @param int                  $stackPtr  The position of the function
255 255
      *                                        in the token array.
256
-     * @param string               $function  The name of the function.
257 256
      * @param string               $pattern   The pattern used for the match.
258 257
      *
259 258
      * @return void
Please login to merge, or discard this patch.
Sniffs/PHP/NewFunctionsSniff.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/NewKeywordsSniff.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,6 @@
 block discarded – undo
153 153
      * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
154 154
      * @param int                  $stackPtr  The position of the function
155 155
      *                                        in the token array.
156
-     * @param string               $function  The name of the function.
157 156
      * @param string               $pattern   The pattern used for the match.
158 157
      *
159 158
      * @return void
Please login to merge, or discard this patch.
Sniffs/PHP/NewLanguageConstructsSniff.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,6 @@
 block discarded – undo
97 97
      * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
98 98
      * @param int                  $stackPtr  The position of the function
99 99
      *                                        in the token array.
100
-     * @param string               $function  The name of the function.
101 100
      *
102 101
      * @return void
103 102
      */
Please login to merge, or discard this patch.
Tests/BaseSniffTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      * Assert no violation (warning or error) on a given line number
146 146
      *
147 147
      * @param PHP_CodeSniffer_File $file Codesniffer File object
148
-     * @param mixed $lineNumber Line number
148
+     * @param integer $lineNumber Line number
149 149
      * @return bool
150 150
      */
151 151
     public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0)
Please login to merge, or discard this patch.