Passed
Pull Request — staging (#7776)
by
unknown
16:18
created
plugins/MauticCrmBundle/Integration/DynamicsIntegration.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -282,18 +282,18 @@
 block discarded – undo
282 282
                             $type      = 'string';
283 283
                             $fieldType = $field['AttributeTypeName']['Value'];
284 284
                             if (in_array($fieldType, [
285
-                                 'LookupType',
286
-                                 'OwnerType',
287
-                                 'PicklistType',
288
-                                 'StateType',
289
-                                 'StatusType',
290
-                                 'UniqueidentifierType',
285
+                                    'LookupType',
286
+                                    'OwnerType',
287
+                                    'PicklistType',
288
+                                    'StateType',
289
+                                    'StatusType',
290
+                                    'UniqueidentifierType',
291 291
                             ], true)) {
292 292
                                 continue;
293 293
                             } elseif (in_array($fieldType, [
294 294
                                 'DoubleType',
295
-                                 'IntegerType',
296
-                                 'MoneyType',
295
+                                    'IntegerType',
296
+                                    'MoneyType',
297 297
                             ], true)) {
298 298
                                 $type = 'int';
299 299
                             } elseif ('Boolean' === $fieldType) {
Please login to merge, or discard this patch.
plugins/MauticClearbitBundle/Controller/ClearbitController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
                 return new JsonResponse(
265 265
                     [
266 266
                         'closeModal' => true,
267
-                         'flashes'   => $this->getFlashContent(),
267
+                            'flashes'   => $this->getFlashContent(),
268 268
                     ]
269 269
                 );
270 270
             }
Please login to merge, or discard this patch.
plugins/MauticClearbitBundle/Controller/PublicController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -84,11 +84,11 @@
 block discarded – undo
84 84
                 $data = [];
85 85
 
86 86
                 foreach ([
87
-                             'facebook' => 'http://www.facebook.com/',
88
-                             'googleplus' => 'http://plus.google.com/',
89
-                             'linkedin' => 'http://www.linkedin.com/',
90
-                             'twitter' => 'http://www.twitter.com/',
91
-                         ] as $p => $u) {
87
+                                'facebook' => 'http://www.facebook.com/',
88
+                                'googleplus' => 'http://plus.google.com/',
89
+                                'linkedin' => 'http://www.linkedin.com/',
90
+                                'twitter' => 'http://www.twitter.com/',
91
+                            ] as $p => $u) {
92 92
                     foreach ($result as $type => $socialProfile) {
93 93
                         if ($type === $p && empty($currFields[$p]['value'])) {
94 94
                             $data[$p] = (array_key_exists('handle', $socialProfile) && $socialProfile['handle']) ? $u.$socialProfile['handle'] : '';
Please login to merge, or discard this patch.
plugins/MauticFocusBundle/Views/Focus/list.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,6 +153,9 @@
 block discarded – undo
153 153
             ]
154 154
         ); ?>
155 155
     </div>
156
-<?php else: ?>
157
-    <?php echo $view->render('MauticCoreBundle:Helper:noresults.html.php', ['tip' => 'mautic.focus.noresults.tip']); ?>
156
+<?php else {
157
+    : ?>
158
+    <?php echo $view->render('MauticCoreBundle:Helper:noresults.html.php', ['tip' => 'mautic.focus.noresults.tip']);
159
+}
160
+?>
158 161
 <?php endif; ?>
Please login to merge, or discard this patch.
plugins/MauticCitrixBundle/Api/GotowebinarApi.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
             'method'          => $method,
23 23
             'parameters'      => $parameters,
24 24
             'requestSettings' => [
25
-              'headers' => [
26
-                  'Accept' => 'application/json;charset=UTF-8',
27
-              ],
25
+                'headers' => [
26
+                    'Accept' => 'application/json;charset=UTF-8',
27
+                ],
28 28
             ],
29 29
         ];
30 30
 
Please login to merge, or discard this patch.
plugins/MauticSocialBundle/Views/Tweet/list.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,10 @@
 block discarded – undo
117 117
             ]
118 118
         ); ?>
119 119
     </div>
120
-<?php else: ?>
121
-    <?php echo $view->render('MauticCoreBundle:Helper:noresults.html.php', ['tip' => 'mautic.mautic.social.tweet.noresults.tip']); ?>
120
+<?php else {
121
+    : ?>
122
+    <?php echo $view->render('MauticCoreBundle:Helper:noresults.html.php', ['tip' => 'mautic.mautic.social.tweet.noresults.tip']);
123
+}
124
+?>
122 125
 <?php endif; ?>
123 126
 
Please login to merge, or discard this patch.
plugins/MauticSocialBundle/Views/Integration/Twitter/Profile/tags.html.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,10 @@
 block discarded – undo
16 16
             $fontSize = ($t['count'] / 10) + 1;
17 17
         elseif ($t['count'] / 10 > 2):
18 18
             $fontSize = 2;
19
-        else:
19
+        else {
20
+            :
20 21
             $fontSize = $t['count'] / 10;
22
+        }
21 23
         endif; ?>
22 24
 
23 25
     <li style="font-size: <?php echo $fontSize; ?>em"><a href="<?php echo $t['url']; ?>" target="_new"><?php echo $tag; ?></a></li>
Please login to merge, or discard this patch.
MauticSocialBundle/Views/Integration/Twitter/Profile/tweets.html.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 
17 17
      <?php foreach ($activity as $item): ?>
18 18
      	<?php
19
-         $border = 'bdr-b bdr-l-wdh-0 bdr-r-wdh-0';
20
-         if ($i == 0 || $i == ($total - 1)):
19
+            $border = 'bdr-b bdr-l-wdh-0 bdr-r-wdh-0';
20
+            if ($i == 0 || $i == ($total - 1)):
21 21
              $border = 'bdr-w-0';
22
-         endif;
23
-         ?>
22
+            endif;
23
+            ?>
24 24
         <li class="<?php echo $border; ?> pa-15 list-group-item">
25 25
             <p><?php echo $item['tweet']; ?></p>
26 26
             <span class="text-muted"><i class="fa fa-clock-o"></i> <?php echo $view['date']->toFull($item['published']); ?></span>
Please login to merge, or discard this patch.
plugins/MauticSocialBundle/Views/Integration/Twitter/Profile/view.html.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     <div class="pa-20 tab-pane" id="TwitterPhotos">
51 51
         <?php echo $view->render('MauticSocialBundle:Integration/Twitter/Profile:photos.html.php', [
52 52
             'lead'      => $lead,
53
-             'activity' => (!empty($details['activity']['photos'])) ? $details['activity']['photos'] : [],
53
+                'activity' => (!empty($details['activity']['photos'])) ? $details['activity']['photos'] : [],
54 54
         ]); ?>
55 55
     </div>
56 56
     <div class="pa-20 tab-pane" id="TwitterTags">
Please login to merge, or discard this patch.