Completed
Pull Request — master (#7)
by Tomáš
09:48 queued 03:17
created
src/Standards/Squiz/Tests/CSS/ForbiddenStylesUnitTest.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/Squiz/Tests/CSS/ClassDefinitionNameSpacingUnitTest.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/Squiz/Tests/CSS/LowercaseStyleDefinitionUnitTest.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/Squiz/Tests/CSS/EmptyClassDefinitionUnitTest.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/Squiz/Tests/CSS/DisallowMultipleStyleDefinitionsUnitTest.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/Squiz/Tests/CSS/EmptyStyleDefinitionUnitTest.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/Squiz/Tests/CSS/SemicolonSpacingUnitTest.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/Squiz/Tests/Files/FileExtensionUnitTest.php 2 patches
Switch Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
     public function getErrorList($testFile='')
29 29
     {
30 30
         switch ($testFile) {
31
-        case 'FileExtensionUnitTest.1.inc':
32
-            return array(1 => 1);
33
-        default:
34
-            return array();
31
+            case 'FileExtensionUnitTest.1.inc':
32
+                return array(1 => 1);
33
+            default:
34
+                return array();
35 35
         }
36 36
 
37 37
     }//end getErrorList()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @return array<int, int>
42 42
      */
43
-    public function getErrorList($testFile='')
43
+    public function getErrorList($testFile = '')
44 44
     {
45 45
         switch ($testFile) {
46 46
         case 'CharacterBeforePHPOpeningTagUnitTest.1.inc':
Please login to merge, or discard this patch.
src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.inc 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -123,13 +123,13 @@
 block discarded – undo
123 123
 }
124 124
 
125 125
 $expectedPermission = array(
126
-                       'granted'        => 4,
127
-                       'denied'         => 1,
128
-                       'cascade'        => TRUE,
129
-                       'blockergranted' => 2,
130
-                       'blockerdenied'  => - 3,
131
-                       'effective'      => TRUE,
132
-                      );
126
+                        'granted'        => 4,
127
+                        'denied'         => 1,
128
+                        'cascade'        => TRUE,
129
+                        'blockergranted' => 2,
130
+                        'blockerdenied'  => - 3,
131
+                        'effective'      => TRUE,
132
+                        );
133 133
 
134 134
 $value = (int) isset($blah) + 2;
135 135
 $value = (int) isset($blah) + (int) isset($foo) + (int) isset($bar);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 $line  = substr($line, 0, -2);
62 62
 $words = preg_split('|(\s+)|', $line."\n", -1, $flags);
63
-if (!isset($this->words[$wordPos-1]) || $this->words[$wordPos-1] !== ' ') {
63
+if (!isset($this->words[$wordPos - 1]) || $this->words[$wordPos - 1] !== ' ') {
64 64
 } else if ($this->tokens[$pos + 1] === "\n") {
65 65
 }
66 66
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                        'denied'         => 1,
128 128
                        'cascade'        => TRUE,
129 129
                        'blockergranted' => 2,
130
-                       'blockerdenied'  => - 3,
130
+                       'blockerdenied'  => -3,
131 131
                        'effective'      => TRUE,
132 132
                       );
133 133
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,8 +105,12 @@
 block discarded – undo
105 105
 
106 106
 }//end class
107 107
 
108
-if ($index < -1) $index = 0;
109
-if ($index < - 1) $index = 0;
108
+if ($index < -1) {
109
+    $index = 0;
110
+}
111
+if ($index < - 1) {
112
+    $index = 0;
113
+}
110 114
 
111 115
 $three = ceil($one / $two);
112 116
 $three = ceil(($one / $two) / $four);
Please login to merge, or discard this patch.