Test Setup Failed
Push — master ( b70375...a54ab5 )
by Craig
06:19
created
Zikula/Bundle/CoreBundle/Tests/Twig/TokenParser/SwitchTokenParserTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
     {
30 30
         $this->tokenParser = new SwitchTokenParser();
31 31
         $this->twigParser = $this->getMockBuilder('Twig_Parser')
32
-                                 ->disableOriginalConstructor()
33
-                                 ->getMock();
32
+                                    ->disableOriginalConstructor()
33
+                                    ->getMock();
34 34
         $this->tokenParser->setParser($this->twigParser);
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/system/SearchModule/Entity/Repository/SearchStatRepository.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
             $i = 1;
58 58
             foreach ($filters as $w_key => $w_value) {
59 59
                 $qb->andWhere($qb->expr()->eq('tbl.' . $w_key, '?' . $i))
60
-                   ->setParameter($i, $w_value);
60
+                    ->setParameter($i, $w_value);
61 61
                 $i++;
62 62
             }
63 63
         }
Please login to merge, or discard this patch.
src/system/CategoriesModule/Entity/Repository/CategoryRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
 
37 37
         if ($parentId > 0) {
38 38
             $qb->andWhere('c.parent = :parentid')
39
-               ->setParameter('parentid', $parentId);
39
+                ->setParameter('parentid', $parentId);
40 40
         }
41 41
 
42 42
         if ($excludedId > 0) {
43 43
             $qb->andWhere('c.id != :id')
44
-               ->setParameter('id', $excludedId);
44
+                ->setParameter('id', $excludedId);
45 45
         }
46 46
 
47 47
         $query = $qb->getQuery();
Please login to merge, or discard this patch.
src/system/RoutesModule/Twig/TwigExtension.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
      * Example:
50 50
      *    {{ route.defaults|zikularoutesmodule_arrayToString }}
51 51
      *
52
-     * @param array $array The input array.
53 52
      *
54 53
      * @return string Output string for display.
55 54
      */
Please login to merge, or discard this patch.
src/system/UsersModule/Helper/MailHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -262,6 +262,9 @@
 block discarded – undo
262 262
         return $this->mailerApi->sendMessage($message, null, null, $textBody, $html);
263 263
     }
264 264
 
265
+    /**
266
+     * @param string $notificationType
267
+     */
265 268
     private function generateEmailSubject($notificationType, array $templateArgs = [])
266 269
     {
267 270
         $siteName = $this->variableApi->getSystemVar('sitename');
Please login to merge, or discard this patch.
src/system/UsersModule/Entity/UserAttributeEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     /**
76 76
      * set the user item
77 77
      *
78
-     * @param User $user the user item
78
+     * @param integer $user the user item
79 79
      */
80 80
     public function setUser($user)
81 81
     {
Please login to merge, or discard this patch.
src/lib/Zikula/Composer/Process/RequireJsProcess.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
 if (typeof exports !== "undefined" && typeof module !== "undefined") {
209 209
     module.exports = components;
210 210
 }
211
-EOT;
211
+eot;
212 212
 
213 213
         return $output;
214 214
     }
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Twig/Node/SwitchNodeTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     case 0:
64 64
         echo "case 0";
65 65
 }
66
-EOF
66
+eof
67 67
         ];
68 68
 
69 69
         // #2 switch with two cases, second with break
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         echo "case 1";
90 90
         break;
91 91
 }
92
-EOF
92
+eof
93 93
         ];
94 94
 
95 95
         // #3 switch with two cases (second with break) and default
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     default:
118 118
         echo "default case";
119 119
 }
120
-EOF
120
+eof
121 121
         ];
122 122
 
123 123
         // #4 switch with two cases (first without body, second with break) and default
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     default:
145 145
         echo "default case";
146 146
 }
147
-EOF
147
+eof
148 148
         ];
149 149
 
150 150
         return $tests;
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Bundle/MetaDataTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
     }
120 120
 }
121
-EOF
121
+eof
122 122
         ;
123 123
 
124 124
         return json_decode($json, true);
Please login to merge, or discard this patch.