Completed
Push — master ( 8cd077 )
by Tomáš
09:25
created
src/Standards/MySource/Sniffs/Debug/FirebugConsoleSniff.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
             $data    = array(
111 111
                         $code,
112 112
                         $error,
113
-                       );
113
+                        );
114 114
             if (in_array($code, $this->errorCodes) === true) {
115 115
                 $phpcsFile->addErrorOnLine($message, $line, 'ExternalToolError', $data);
116 116
             } else {
Please login to merge, or discard this patch.
src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php 1 patch
Switch Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -111,33 +111,33 @@
 block discarded – undo
111 111
             }
112 112
 
113 113
             switch ($tokens[$i]['code']) {
114
-            case T_DOUBLE_COLON:
115
-                $usedName = strtolower($tokens[($i - 1)]['content']);
116
-                if ($usedName === $systemName) {
117
-                    // The included system was used, so it is fine.
118
-                    return;
119
-                }
120
-                break;
121
-            case T_EXTENDS:
122
-                $classNameToken = $phpcsFile->findNext(T_STRING, ($i + 1));
123
-                $className      = strtolower($tokens[$classNameToken]['content']);
124
-                if ($className === $systemName) {
125
-                    // The included system was used, so it is fine.
126
-                    return;
127
-                }
128
-                break;
129
-            case T_IMPLEMENTS:
130
-                $endImplements = $phpcsFile->findNext(array(T_EXTENDS, T_OPEN_CURLY_BRACKET), ($i + 1));
131
-                for ($x = ($i + 1); $x < $endImplements; $x++) {
132
-                    if ($tokens[$x]['code'] === T_STRING) {
133
-                        $className = strtolower($tokens[$x]['content']);
134
-                        if ($className === $systemName) {
135
-                            // The included system was used, so it is fine.
136
-                            return;
114
+                case T_DOUBLE_COLON:
115
+                    $usedName = strtolower($tokens[($i - 1)]['content']);
116
+                    if ($usedName === $systemName) {
117
+                        // The included system was used, so it is fine.
118
+                        return;
119
+                    }
120
+                    break;
121
+                case T_EXTENDS:
122
+                    $classNameToken = $phpcsFile->findNext(T_STRING, ($i + 1));
123
+                    $className      = strtolower($tokens[$classNameToken]['content']);
124
+                    if ($className === $systemName) {
125
+                        // The included system was used, so it is fine.
126
+                        return;
127
+                    }
128
+                    break;
129
+                case T_IMPLEMENTS:
130
+                    $endImplements = $phpcsFile->findNext(array(T_EXTENDS, T_OPEN_CURLY_BRACKET), ($i + 1));
131
+                    for ($x = ($i + 1); $x < $endImplements; $x++) {
132
+                        if ($tokens[$x]['code'] === T_STRING) {
133
+                            $className = strtolower($tokens[$x]['content']);
134
+                            if ($className === $systemName) {
135
+                                // The included system was used, so it is fine.
136
+                                return;
137
+                            }
137 138
                         }
138 139
                     }
139
-                }
140
-                break;
140
+                    break;
141 141
             }//end switch
142 142
         }//end for
143 143
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/Commenting/FunctionCommentUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/PHP/AjaxNullComparisonUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/PHP/ReturnFunctionValueUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/PHP/EvalObjectFactoryUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/PHP/GetRequestDataUnitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 48 => 1,
58 58
                 70 => 1,
59 59
                 71 => 1,
60
-               );
60
+                );
61 61
 
62 62
     }//end getErrorList()
63 63
 
Please login to merge, or discard this patch.
src/Standards/MySource/Tests/PHP/AjaxNullComparisonUnitTest.inc 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
 public static function addIssue(
26 26
     $title,
27 27
     $description,
28
-    $reporter=NULL,
29
-    $projectid=NULL,
30
-    array $tags=array(),
31
-    $status=NULL,
32
-    $assignedTo=NULL,
33
-    $reportedDate=NULL,
34
-    $reportedMilestone=NULL
28
+    $reporter = NULL,
29
+    $projectid = NULL,
30
+    array $tags = array(),
31
+    $status = NULL,
32
+    $assignedTo = NULL,
33
+    $reportedDate = NULL,
34
+    $reportedMilestone = NULL
35 35
 ) {
36 36
     // Get current projectid if not specified.
37 37
     if ($projectid === NULL) {
@@ -160,13 +160,13 @@  discard block
 block discarded – undo
160 160
 public static function addIssue(
161 161
     $title,
162 162
     $description,
163
-    $reporter=NULL,
164
-    $projectid=NULL,
165
-    array $tags=array(),
166
-    $status=NULL,
167
-    $assignedTo=NULL,
168
-    $reportedDate=NULL,
169
-    $reportedMilestone=NULL
163
+    $reporter = NULL,
164
+    $projectid = NULL,
165
+    array $tags = array(),
166
+    $status = NULL,
167
+    $assignedTo = NULL,
168
+    $reportedDate = NULL,
169
+    $reportedMilestone = NULL
170 170
 ) {
171 171
     // Get current projectid if not specified.
172 172
     if ($projectid === NULL) {
Please login to merge, or discard this patch.