Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Core/test/CoreTest/Controller/Plugin/CreatePaginatorTest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     public function testPaginatorCreation($paginatorName, $params, $defaultParams, $usePostParams, $expect)
71 71
     {
72
-        if ($defaultParams) { $options = array_merge($params, $defaultParams); }
73
-        else                { $options = $params; }
72
+        if ($defaultParams) { $options = array_merge($params, $defaultParams); } else                { $options = $params; }
74 73
         $request = new Request();
75 74
         if ($usePostParams) {
76 75
             $request->setPost(new Parameters($params));
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/FormTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
             foreach ($classes as $class) {
119 119
                 $this->target->addClass($class);
120 120
             }
121
-         }elseif (is_string($classes)){
121
+         } elseif (is_string($classes)){
122 122
             $this->target->addClass($classes);
123 123
          }
124 124
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/ContainerTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
         $target->setForm($key,$spec,$enabled);
108 108
         if ($expected) {
109 109
             $this->assertAttributeContains($key,'activeForms',$target);
110
-        }else{
110
+        } else{
111 111
             $this->assertAttributeNotContains($key,'activeForms',$target);
112 112
         }
113 113
         $this->assertAttributeSame(
Please login to merge, or discard this patch.