Completed
Pull Request — master (#7)
by Tomáš
09:48 queued 03:17
created
src/Standards/MySource/Sniffs/Objects/AssignThisSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Returns an array of tokens this test wants to listen for.
32 32
      *
33
-     * @return array
33
+     * @return string[]
34 34
      */
35 35
     public function register()
36 36
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Processes this test, when one of its tokens is encountered.
44 44
      *
45
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
45
+     * @param File $phpcsFile The file being scanned.
46 46
      * @param int                  $stackPtr  The position of the current token
47 47
      *                                        in the stack passed in $tokens.
48 48
      *
Please login to merge, or discard this patch.
src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Returns an array of tokens this test wants to listen for.
32 32
      *
33
-     * @return array
33
+     * @return string[]
34 34
      */
35 35
     public function register()
36 36
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Processes this test, when one of its tokens is encountered.
44 44
      *
45
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
45
+     * @param File $phpcsFile The file being scanned.
46 46
      * @param int                  $stackPtr  The position of the current token
47 47
      *                                        in the stack passed in $tokens.
48 48
      *
Please login to merge, or discard this patch.
src/Standards/MySource/Sniffs/PHP/AjaxNullComparisonSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Returns an array of tokens this test wants to listen for.
28 28
      *
29
-     * @return array
29
+     * @return integer[]
30 30
      */
31 31
     public function register()
32 32
     {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Processes this sniff when one of its tokens is encountered.
40 40
      *
41
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
41
+     * @param File $phpcsFile The file being scanned.
42 42
      * @param int                  $stackPtr  The position of the current token
43 43
      *                                        in the stack passed in $tokens.
44 44
      *
Please login to merge, or discard this patch.
src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Returns an array of tokens this test wants to listen for.
21 21
      *
22
-     * @return array
22
+     * @return integer[]
23 23
      */
24 24
     public function register()
25 25
     {
@@ -31,11 +31,11 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Processes this sniff, when one of its tokens is encountered.
33 33
      *
34
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
34
+     * @param File $phpcsFile The file being scanned.
35 35
      * @param int                  $stackPtr  The position of the current token in
36 36
      *                                        the stack passed in $tokens.
37 37
      *
38
-     * @return void
38
+     * @return integer
39 39
      */
40 40
     public function process(File $phpcsFile, $stackPtr)
41 41
     {
Please login to merge, or discard this patch.
src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Returns an array of tokens this test wants to listen for.
28 28
      *
29
-     * @return array
29
+     * @return integer[]
30 30
      */
31 31
     public function register()
32 32
     {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Processes this sniff when one of its tokens is encountered.
40 40
      *
41
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
41
+     * @param File $phpcsFile The file being scanned.
42 42
      * @param int                  $stackPtr  The position of the current token
43 43
      *                                        in the stack passed in $tokens.
44 44
      *
Please login to merge, or discard this patch.
src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Returns an array of tokens this test wants to listen for.
32 32
      *
33
-     * @return array
33
+     * @return string[]
34 34
      */
35 35
     public function register()
36 36
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Processes this test, when one of its tokens is encountered.
44 44
      *
45
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
45
+     * @param File $phpcsFile The file being scanned.
46 46
      * @param int                  $stackPtr  The position of the current token
47 47
      *                                        in the stack passed in $tokens.
48 48
      *
Please login to merge, or discard this patch.
src/Standards/Squiz/Sniffs/CSS/MissingColonSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Returns the token types that this sniff is interested in.
43 43
      *
44
-     * @return int[]
44
+     * @return string[]
45 45
      */
46 46
     public function register()
47 47
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Processes the tokens that this sniff is interested in.
55 55
      *
56
-     * @param PHP_CodeSniffer_File $phpcsFile The file where the token was found.
56
+     * @param File $phpcsFile The file where the token was found.
57 57
      * @param int                  $stackPtr  The position in the stack where
58 58
      *                                        the token was found.
59 59
      *
Please login to merge, or discard this patch.
src/Standards/Squiz/Sniffs/Objects/DisallowObjectStringIndexSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Returns an array of tokens this test wants to listen for.
32 32
      *
33
-     * @return array
33
+     * @return string[]
34 34
      */
35 35
     public function register()
36 36
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Processes this test, when one of its tokens is encountered.
44 44
      *
45
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
45
+     * @param File $phpcsFile The file being scanned.
46 46
      * @param int                  $stackPtr  The position of the current token
47 47
      *                                        in the stack passed in $tokens.
48 48
      *
Please login to merge, or discard this patch.
src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * Processes this sniff, when one of its tokens is encountered.
64 64
      *
65
-     * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
65
+     * @param File $phpcsFile The file being scanned.
66 66
      * @param int                  $stackPtr  The position of the current token in the
67 67
      *                                        stack passed in $tokens.
68 68
      *
Please login to merge, or discard this patch.