Completed
Push — master ( 98ab66...23f913 )
by Craig
09:22
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/SecurityCenterModule/Entity/Repository/IntrusionRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 $qb->from('ZikulaUsersModule:UserEntity', 'u');
109 109
                 $qb->andWhere($qb->expr()->eq('tbl.user', 'u.uid'));
110 110
                 $qb->andWhere($qb->expr()->eq('tbl.user', ':uid'))
111
-                   ->setParameter('uid', $uid);
111
+                    ->setParameter('uid', $uid);
112 112
             }
113 113
         }
114 114
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             $i = 1;
118 118
             foreach ($filters as $w_key => $w_value) {
119 119
                 $qb->andWhere($qb->expr()->eq('tbl.' . $w_key, '?' . $i))
120
-                   ->setParameter($i, $w_value);
120
+                    ->setParameter($i, $w_value);
121 121
                 $i++;
122 122
             }
123 123
         }
@@ -144,12 +144,12 @@  discard block
 block discarded – undo
144 144
 
145 145
         if ($fieldName == 'uid') {
146 146
             $qb->select('DISTINCT(u.' . $fieldName . ')')
147
-               ->from('ZikulaUsersModule:UserEntity', 'u')
148
-               ->where($qb->expr()->eq('tbl.user', 'u.uid'))
149
-               ->addOrderBy('u.uname', 'ASC');
147
+                ->from('ZikulaUsersModule:UserEntity', 'u')
148
+                ->where($qb->expr()->eq('tbl.user', 'u.uid'))
149
+                ->addOrderBy('u.uname', 'ASC');
150 150
         } else {
151 151
             $qb->select('DISTINCT(tbl.' . $fieldName . ')')
152
-               ->addOrderBy('tbl.' . $fieldName, 'ASC');
152
+                ->addOrderBy('tbl.' . $fieldName, 'ASC');
153 153
         }
154 154
 
155 155
         $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/system/RoutesModule/Entity/Base/AbstractRouteEntity.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1130,7 +1130,7 @@
 block discarded – undo
1130 1130
      * 
1131 1131
      * @return array of entity objects
1132 1132
      */
1133
-    public function getRelatedObjectsToPersist(&$objects = []) 
1133
+    public function getRelatedObjectsToPersist(&$objects = [])
1134 1134
     {
1135 1135
         return [];
1136 1136
     }
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.