Completed
Push — master ( 8cd077 )
by Tomáš
09:25
created
src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.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/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -45,31 +45,31 @@
 block discarded – undo
45 45
     public function getErrorList($testFile='MultiLineConditionUnitTest.inc')
46 46
     {
47 47
         $errors = array(
48
-                   21  => 1,
49
-                   22  => 1,
50
-                   35  => 1,
51
-                   40  => 1,
52
-                   41  => 1,
53
-                   42  => 1,
54
-                   43  => 1,
55
-                   49  => 1,
56
-                   54  => 1,
57
-                   57  => 1,
58
-                   58  => 1,
59
-                   59  => 1,
60
-                   61  => 1,
61
-                   67  => 1,
62
-                   87  => 1,
63
-                   88  => 1,
64
-                   89  => 1,
65
-                   90  => 1,
66
-                   96  => 2,
67
-                   101 => 1,
68
-                   109 => 2,
69
-                   125 => 1,
70
-                   145 => 1,
71
-                   153 => 1,
72
-                  );
48
+                    21  => 1,
49
+                    22  => 1,
50
+                    35  => 1,
51
+                    40  => 1,
52
+                    41  => 1,
53
+                    42  => 1,
54
+                    43  => 1,
55
+                    49  => 1,
56
+                    54  => 1,
57
+                    57  => 1,
58
+                    58  => 1,
59
+                    59  => 1,
60
+                    61  => 1,
61
+                    67  => 1,
62
+                    87  => 1,
63
+                    88  => 1,
64
+                    89  => 1,
65
+                    90  => 1,
66
+                    96  => 2,
67
+                    101 => 1,
68
+                    109 => 2,
69
+                    125 => 1,
70
+                    145 => 1,
71
+                    153 => 1,
72
+                    );
73 73
 
74 74
         if ($testFile === 'MultiLineConditionUnitTest.inc') {
75 75
             $errors[167] = 1;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      *
43 43
      * @return array<int, int>
44 44
      */
45
-    public function getErrorList($testFile='MultiLineConditionUnitTest.inc')
45
+    public function getErrorList($testFile = 'MultiLineConditionUnitTest.inc')
46 46
     {
47 47
         $errors = array(
48 48
                    21  => 1,
Please login to merge, or discard this patch.
src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.inc 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
 
20 20
 do { echo $i; } while ($i > 0);
21 21
 
22
-do{
22
+do {
23 23
     echo $i;
24
-}while($i > 0);
24
+} while ($i > 0);
25 25
 
26 26
 
27 27
 // while
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     echo $i;
30 30
 }
31 31
 
32
-while($i < 1){
32
+while ($i < 1) {
33 33
     echo $i;
34 34
 }
35 35
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     echo $i;
42 42
 }
43 43
 
44
-for($i = 1; $i < 1; $i++){
44
+for ($i = 1; $i < 1; $i++) {
45 45
     echo $i;
46 46
 }
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     echo $item;
54 54
 }
55 55
 
56
-foreach($items as $item){
56
+foreach ($items as $item) {
57 57
     echo $item;
58 58
 }
59 59
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     $i = 1;
66 66
 }
67 67
 
68
-if($i == 0){
68
+if ($i == 0) {
69 69
     $i = 1;
70 70
 }
71 71
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
 if ($i == 0) {
83 83
     $i = 1;
84
-}else{
84
+} else {
85 85
     $i = 0;
86 86
 }
87 87
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
 if ($i == 0) {
99 99
     $i = 1;
100
-}else{
100
+} else {
101 101
     $i = 0;
102 102
 }
103 103
 
@@ -119,13 +119,13 @@  discard block
 block discarded – undo
119 119
 
120 120
 if ($i == 0) {
121 121
     $i = 1;
122
-}else if($i == 2){
122
+} else if ($i == 2) {
123 123
     $i = 0;
124 124
 }
125 125
 
126 126
 if ($i == 0) {
127 127
     $i = 1;
128
-}elseif($i == 2){
128
+}elseif ($i == 2) {
129 129
     $i = 0;
130 130
 }
131 131
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
 if ($i == 0) {
83 83
     $i = 1;
84
-}else{
84
+} else{
85 85
     $i = 0;
86 86
 }
87 87
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
 if ($i == 0) {
99 99
     $i = 1;
100
-}else{
100
+} else{
101 101
     $i = 0;
102 102
 }
103 103
 
@@ -119,13 +119,13 @@  discard block
 block discarded – undo
119 119
 
120 120
 if ($i == 0) {
121 121
     $i = 1;
122
-}else if($i == 2){
122
+} else if($i == 2){
123 123
     $i = 0;
124 124
 }
125 125
 
126 126
 if ($i == 0) {
127 127
     $i = 1;
128
-}elseif($i == 2){
128
+} elseif($i == 2){
129 129
     $i = 0;
130 130
 }
131 131
 
@@ -153,7 +153,6 @@  discard block
 block discarded – undo
153 153
 }
154 154
 
155 155
 if ($i == 0) {
156
-}
157
-else {
156
+} else {
158 157
 }
159 158
 ?>
160 159
\ No newline at end of file
Please login to merge, or discard this patch.
src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.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/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.inc 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@  discard block
 block discarded – undo
24 24
 
25 25
 class MyClass
26 26
 {
27
-  function func1()
28
-  {
27
+    function func1()
28
+    {
29 29
     function func2()
30 30
     {
31
-     return $a;
31
+        return $a;
32 32
     }
33 33
     return $data;
34
-  }
34
+    }
35 35
 }
36 36
 
37 37
 class MyClass
@@ -59,17 +59,17 @@  discard block
 block discarded – undo
59 59
 }
60 60
 
61 61
 class mpgResponse{
62
-   var $term_id;
63
-   var $currentTag;
64
-   function characterHandler($parser,$data){
65
-       switch($this->currentTag)
66
-       {
67
-           case "term_id": {
68
-               $this->term_id=$data;
69
-               break;
70
-           }
71
-       }
72
-   }//end characterHandler
62
+    var $term_id;
63
+    var $currentTag;
64
+    function characterHandler($parser,$data){
65
+        switch($this->currentTag)
66
+        {
67
+            case "term_id": {
68
+                $this->term_id=$data;
69
+                break;
70
+            }
71
+        }
72
+    }//end characterHandler
73 73
 }//end class mpgResponse
74 74
 
75 75
 class foo
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,14 +58,14 @@
 block discarded – undo
58 58
     }
59 59
 }
60 60
 
61
-class mpgResponse{
61
+class mpgResponse {
62 62
    var $term_id;
63 63
    var $currentTag;
64
-   function characterHandler($parser,$data){
65
-       switch($this->currentTag)
64
+   function characterHandler($parser, $data) {
65
+       switch ($this->currentTag)
66 66
        {
67 67
            case "term_id": {
68
-               $this->term_id=$data;
68
+               $this->term_id = $data;
69 69
                break;
70 70
            }
71 71
        }
Please login to merge, or discard this patch.
src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.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/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.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/PEAR/Tests/Classes/ClassDeclarationUnitTest.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
 }
36 36
 
37 37
 class IncorrectBracePlacement
38
- {
39
- }
38
+    {
39
+    }
40 40
 
41 41
 abstract class CodeSnifferFail
42 42
     extends
Please login to merge, or discard this patch.
src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.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.