Passed
Push — master ( f17ae0...2927c7 )
by Michael
02:02
created
MO4/Sniffs/Commenting/PropertyCommentSniff.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
      * @var array
47 47
      */
48 48
     private $myTokenTypes = array(
49
-                             T_VARIABLE,
50
-                             T_CONST,
49
+                                T_VARIABLE,
50
+                                T_CONST,
51 51
                             );
52 52
 
53 53
 
@@ -82,14 +82,14 @@  discard block
 block discarded – undo
82 82
         $currScope
83 83
     ) {
84 84
         $find   = array(
85
-                   T_COMMENT,
86
-                   T_DOC_COMMENT_CLOSE_TAG,
87
-                   T_CLASS,
88
-                   T_CONST,
89
-                   T_FUNCTION,
90
-                   T_VARIABLE,
91
-                   T_OPEN_TAG,
92
-                  );
85
+                    T_COMMENT,
86
+                    T_DOC_COMMENT_CLOSE_TAG,
87
+                    T_CLASS,
88
+                    T_CONST,
89
+                    T_FUNCTION,
90
+                    T_VARIABLE,
91
+                    T_OPEN_TAG,
92
+                    );
93 93
         $tokens = $phpcsFile->getTokens();
94 94
 
95 95
         // Before even checking the docblocks above the current var/const,
Please login to merge, or discard this patch.
MO4/Sniffs/Formatting/AlphabeticalUseStatementsSniff.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
      * @var array
59 59
      */
60 60
     private $supportedOrderingMethods = [
61
-                                         'dictionary',
62
-                                         'string',
63
-                                         'string',
64
-                                         'string-locale',
65
-                                         'string-case-insensitive',
61
+                                            'dictionary',
62
+                                            'string',
63
+                                            'string',
64
+                                            'string-locale',
65
+                                            'string-case-insensitive',
66 66
                                         ];
67 67
 
68 68
     /**
@@ -189,8 +189,8 @@  discard block
 block discarded – undo
189 189
     private function getUseImport(File $phpcsFile, $stackPtr)
190 190
     {
191 191
         $importTokens = array(
192
-                         T_NS_SEPARATOR,
193
-                         T_STRING,
192
+                            T_NS_SEPARATOR,
193
+                            T_STRING,
194 194
                         );
195 195
 
196 196
         $start  = $phpcsFile->findNext(
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
         return array(
206 206
                 'startPtr' => $start,
207 207
                 'content'  => $import,
208
-               );
208
+                );
209 209
 
210 210
     }//end getUseImport()
211 211
 
Please login to merge, or discard this patch.
MO4/Sniffs/Formatting/ArrayAlignmentSniff.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
      * @var array
39 39
      */
40 40
     protected  $arrayTokens = array(
41
-                               T_ARRAY,
42
-                               T_OPEN_SHORT_ARRAY,
43
-                              );
41
+                                T_ARRAY,
42
+                                T_OPEN_SHORT_ARRAY,
43
+                                );
44 44
 
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
MO4/Sniffs/Formatting/UnnecessaryNamespaceUsageSniff.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     private $classNameTokens = array(
45 45
                                 T_NS_SEPARATOR,
46 46
                                 T_STRING,
47
-                               );
47
+                                );
48 48
 
49 49
 
50 50
     /**
@@ -75,15 +75,15 @@  discard block
 block discarded – undo
75 75
     public function process(File $phpcsFile, $stackPtr)
76 76
     {
77 77
         $docCommentTags = array(
78
-                           '@param'  => 1,
79
-                           '@return' => 1,
80
-                           '@throws' => 1,
81
-                           '@var'    => 2,
82
-                          );
78
+                            '@param'  => 1,
79
+                            '@return' => 1,
80
+                            '@throws' => 1,
81
+                            '@var'    => 2,
82
+                            );
83 83
         $scanTokens     = array(
84
-                           T_NS_SEPARATOR,
85
-                           T_DOC_COMMENT_OPEN_TAG,
86
-                          );
84
+                            T_NS_SEPARATOR,
85
+                            T_DOC_COMMENT_OPEN_TAG,
86
+                            );
87 87
 
88 88
         $tokens        = $phpcsFile->getTokens();
89 89
         $useStatements = $this->getUseStatements($phpcsFile, 0, ($stackPtr - 1));
@@ -129,8 +129,8 @@  discard block
 block discarded – undo
129 129
                     $next    = ($tag + 1);
130 130
                     $lineEnd = $phpcsFile->findNext(
131 131
                         array(
132
-                         T_DOC_COMMENT_CLOSE_TAG,
133
-                         T_DOC_COMMENT_STAR,
132
+                            T_DOC_COMMENT_CLOSE_TAG,
133
+                            T_DOC_COMMENT_STAR,
134 134
                         ),
135 135
                         $next
136 136
                     );
@@ -224,8 +224,8 @@  discard block
 block discarded – undo
224 224
             );
225 225
             $useEnd         = $phpcsFile->findNext(
226 226
                 array(
227
-                 T_SEMICOLON,
228
-                 T_COMMA,
227
+                    T_SEMICOLON,
228
+                    T_COMMA,
229 229
                 ),
230 230
                 $classNameEnd,
231 231
                 $end
@@ -348,8 +348,8 @@  discard block
 block discarded – undo
348 348
             $replacement = $useStatements[$fullClassName];
349 349
 
350 350
             $data = array(
351
-                     $className,
352
-                     $replacement,
351
+                        $className,
352
+                        $replacement,
353 353
                     );
354 354
 
355 355
             $fixable = $phpcsFile->addFixableWarning(
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
             $data    = array(
367 367
                         $className,
368 368
                         $replacement,
369
-                       );
369
+                        );
370 370
             $fixable = $phpcsFile->addFixableWarning(
371 371
                 $msg,
372 372
                 $startPtr,
Please login to merge, or discard this patch.
MO4/Tests/Strings/VariableInDoubleQuotedStringUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                     9  => 1,
63 63
                     10 => 1,
64 64
                     11 => 1,
65
-                   );
65
+                    );
66 66
         }
67 67
 
68 68
         throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__);
Please login to merge, or discard this patch.
MO4/Tests/Commenting/PropertyCommentUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                     34 => 1,
62 62
                     37 => 1,
63 63
                     41 => 1,
64
-                   );
64
+                    );
65 65
         }
66 66
 
67 67
         throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__);
Please login to merge, or discard this patch.
MO4/Tests/Formatting/AlphabeticalUseStatementsUnitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,20 +59,20 @@  discard block
 block discarded – undo
59 59
                     8  => 1,
60 60
                     9  => 1,
61 61
                     12 => 1,
62
-                   );
62
+                    );
63 63
         // Take care, more than one fix will be applied.
64 64
         case 'AlphabeticalUseStatementsUnitTest.fail.2.inc':
65 65
             return array(
66 66
                     6 => 1,
67 67
                     8 => 1,
68
-                   );
68
+                    );
69 69
         case 'AlphabeticalUseStatementsUnitTest.fail.3.inc':
70 70
             return array(
71 71
                     7  => 1,
72 72
                     8  => 1,
73 73
                     10 => 1,
74 74
                     15 => 1,
75
-                   );
75
+                    );
76 76
         case 'AlphabeticalUseStatementsUnitTest.fail.4.inc':
77 77
             return array(
78 78
                     4  => 1,
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                     17 => 1,
82 82
                     20 => 1,
83 83
                     21 => 1,
84
-                   );
84
+                    );
85 85
         }//end switch
86 86
 
87 87
         throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__);
Please login to merge, or discard this patch.
MO4/Tests/Formatting/UseArrayShortTagUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                     13 => 1,
62 62
                     15 => 1,
63 63
                     16 => 2,
64
-                   );
64
+                    );
65 65
         }
66 66
 
67 67
         throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__);
Please login to merge, or discard this patch.
MO4/Tests/Formatting/ArrayAlignmentUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                     145 => 1,
86 86
                     151 => 2,
87 87
                     155 => 1,
88
-                   );
88
+                    );
89 89
         }//end switch
90 90
 
91 91
         throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__);
Please login to merge, or discard this patch.