Completed
Pull Request — master (#11)
by Tomáš
03:24
created
src/Files/FileList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
     /**
194 194
      * Return the file path of the current file being processed.
195 195
      *
196
-     * @return void
196
+     * @return string
197 197
      */
198 198
     function key()
199 199
     {
Please login to merge, or discard this patch.
src/Fixer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * Start recording actions for a changeset.
358 358
      *
359
-     * @return void
359
+     * @return false|null
360 360
      */
361 361
     public function beginChangeset()
362 362
     {
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
     /**
384 384
      * Stop recording actions for a changeset, and apply logged changes.
385 385
      *
386
-     * @return boolean
386
+     * @return false|null
387 387
      */
388 388
     public function endChangeset()
389 389
     {
Please login to merge, or discard this patch.
src/Util/Common.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @param string $path The path to use.
42 42
      *
43
-     * @return mixed
43
+     * @return string
44 44
      */
45 45
     public static function realpath($path)
46 46
     {
Please login to merge, or discard this patch.
src/Reports/Cbf.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
      * its data should be counted in the grand totals.
28 28
      *
29 29
      * @param array                 $report      Prepared report data.
30
-     * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile   The file being reported on.
30
+     * @param File $phpcsFile   The file being reported on.
31 31
      * @param bool                  $showSources Show sources?
32 32
      * @param int                   $width       Maximum allowed line width.
33 33
      *
34
-     * @return bool
34
+     * @return null|boolean
35 35
      */
36 36
     public function generateFileReport($report, File $phpcsFile, $showSources=false, $width=80)
37 37
     {
Please login to merge, or discard this patch.
src/Reports/Code.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * its data should be counted in the grand totals.
25 25
      *
26 26
      * @param array                 $report      Prepared report data.
27
-     * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile   The file being reported on.
27
+     * @param File $phpcsFile   The file being reported on.
28 28
      * @param bool                  $showSources Show sources?
29 29
      * @param int                   $width       Maximum allowed line width.
30 30
      *
Please login to merge, or discard this patch.
src/Reports/Diff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * its data should be counted in the grand totals.
25 25
      *
26 26
      * @param array                 $report      Prepared report data.
27
-     * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile   The file being reported on.
27
+     * @param File $phpcsFile   The file being reported on.
28 28
      * @param bool                  $showSources Show sources?
29 29
      * @param int                   $width       Maximum allowed line width.
30 30
      *
Please login to merge, or discard this patch.
src/Files/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
     /**
531 531
      * Returns the token stack for this file.
532 532
      *
533
-     * @return array
533
+     * @return string
534 534
      */
535 535
     public function getTokens()
536 536
     {
@@ -1692,7 +1692,7 @@  discard block
 block discarded – undo
1692 1692
      *                           will not be checked. IE. checking will stop
1693 1693
      *                           at the previous semi-colon found.
1694 1694
      *
1695
-     * @return int|bool
1695
+     * @return integer
1696 1696
      * @see    findNext()
1697 1697
      */
1698 1698
     public function findPrevious(
Please login to merge, or discard this patch.
src/Sniffs/AbstractPatternSniff.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * Processes the test.
179 179
      *
180
-     * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The Symplify\PHP7_CodeSniffer file where the
180
+     * @param File $phpcsFile The Symplify\PHP7_CodeSniffer file where the
181 181
      *                                        token occurred.
182 182
      * @param int                  $stackPtr  The position in the tokens stack
183 183
      *                                        where the listening token type was
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      *                                          for checking, which includes are
248 248
      *                                          parsed token representation of the
249 249
      *                                          pattern.
250
-     * @param Symplify\PHP7_CodeSniffer_File $phpcsFile   The Symplify\PHP7_CodeSniffer file where the
250
+     * @param File $phpcsFile   The Symplify\PHP7_CodeSniffer file where the
251 251
      *                                          token occurred.
252 252
      * @param int                  $stackPtr    The position in the tokens stack where
253 253
      *                                          the listening token type was found.
@@ -746,7 +746,7 @@  discard block
 block discarded – undo
746 746
      /**
747 747
       * Processes any tokens registered with registerSupplementary().
748 748
       *
749
-      * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The Symplify\PHP7_CodeSniffer file where to
749
+      * @param File $phpcsFile The Symplify\PHP7_CodeSniffer file where to
750 750
       *                                        process the skip.
751 751
       * @param int                  $stackPtr  The position in the tokens stack to
752 752
       *                                        process.
Please login to merge, or discard this patch.
src/Sniffs/AbstractScopeSniff.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Processes the tokens that this test is listening for.
119 119
      *
120
-     * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The file where this token was found.
120
+     * @param File $phpcsFile The file where this token was found.
121 121
      * @param int                  $stackPtr  The position in the stack where this
122 122
      *                                        token was found.
123 123
      *
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * Processes a token that is found within the scope that this test is
148 148
      * listening to.
149 149
      *
150
-     * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The file where this token was found.
150
+     * @param File $phpcsFile The file where this token was found.
151 151
      * @param int                  $stackPtr  The position in the stack where this
152 152
      *                                        token was found.
153 153
      * @param int                  $currScope The position in the tokens array that
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * Processes a token that is found within the scope that this test is
164 164
      * listening to.
165 165
      *
166
-     * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The file where this token was found.
166
+     * @param File $phpcsFile The file where this token was found.
167 167
      * @param int                  $stackPtr  The position in the stack where this
168 168
      *                                        token was found.
169 169
      *
Please login to merge, or discard this patch.