Passed
Pull Request — staging (#7776)
by
unknown
16:18
created
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/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.
plugins/MauticSocialBundle/Views/Monitoring/list.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,8 +117,11 @@
 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.monitoring.noresults.tip']); ?>
120
+<?php else {
121
+    : ?>
122
+    <?php echo $view->render('MauticCoreBundle:Helper:noresults.html.php', ['tip' => 'mautic.mautic.social.monitoring.noresults.tip']);
123
+}
124
+?>
122 125
 <?php endif; ?>
123 126
 
124 127
 <?php echo $view->render(
Please login to merge, or discard this patch.
offline.php 1 patch
Braces   +13 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,10 +51,13 @@  discard block
 block discarded – undo
51 51
                 <?php if ($inline): ?>
52 52
                 <h3><i class="fa fa-warning fa-fw text-danger pull-left"></i><?php echo $error['message']; ?></h3>
53 53
                 <h6 class="text-muted"><?php echo $error['file'].':'.$error['line']; ?></h6>
54
-                <?php else: ?>
54
+                <?php else {
55
+    : ?>
55 56
                 <div class="text-center"><i class="fa fa-warning fa-5x"></i></div>
56 57
                 <div class="alert alert-danger">
57
-                    <div><?php echo $error['message']; ?></div>
58
+                    <div><?php echo $error['message'];
59
+}
60
+?></div>
58 61
                     <div class="text-muted small text-right mt-10"><?php echo $error['file'].':'.$error['line']; ?></div>
59 62
                 </div>
60 63
                 <?php endif; ?>
@@ -64,8 +67,10 @@  discard block
 block discarded – undo
64 67
                         if (is_array($error['trace']) && !empty($error['trace'])):
65 68
                             $traces = $error['trace'];
66 69
                             include __DIR__.'/app/bundles/CoreBundle/Views/Exception/traces.html.php';
67
-                        else:
70
+                        else {
71
+                            :
68 72
                             echo '<pre>'.$error['trace'].'</pre>';
73
+                        }
69 74
                         endif;
70 75
                         ?>
71 76
                         <div class="clearfix"></div>
@@ -81,11 +86,14 @@  discard block
 block discarded – undo
81 86
             <h4 class="mt-15"><?php echo $submessage; ?></h4>
82 87
             <?php endif; ?>
83 88
         </div>
84
-        <?php else: ?>
89
+        <?php else {
90
+    : ?>
85 91
         <div class="col-sm-offset-3 col-sm-6">
86 92
             <div class="bg-white pa-lg text-center" style="margin-top:100px;">
87 93
                 <i class="fa fa-warning fa-5x"></i>
88
-                <h2><?php echo $message; ?></h2>
94
+                <h2><?php echo $message;
95
+}
96
+?></h2>
89 97
                 <?php if (!empty($submessage)): ?>
90 98
                 <h4 class="mt-15"><?php echo $submessage; ?></h4>
91 99
                 <?php endif; ?>
Please login to merge, or discard this patch.
MauticSocialBundle/Views/Integration/GooglePlus/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.
plugins/MauticFocusBundle/Views/Builder/form.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,9 +59,12 @@
 block discarded – undo
59 59
                 if (headline.length) {
60 60
                     <?php if ($style == 'bar'): ?>
61 61
                     headline[0].style.display = "inline-block";
62
-                    <?php else : ?>
62
+                    <?php else {
63
+    : ?>
63 64
                     headline[0].style.display = "block";
64
-                    <?php endif; ?>
65
+                    <?php endif;
66
+}
67
+?>
65 68
                 }
66 69
                 if (tagline.length) {
67 70
                     tagline[0].style.display = "inherit";
Please login to merge, or discard this patch.
plugins/MauticFocusBundle/Views/Builder/Modal/index.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,11 @@
 block discarded – undo
28 28
             <div class="mf-content">
29 29
                 <?php if (in_array($htmlMode, ['editor', 'html'])): ?>
30 30
                     <?php echo html_entity_decode($focus[$htmlMode]); ?>
31
-                <?php else: ?>
32
-                <div class="mf-headline"><?php echo $props['content']['headline']; ?></div>
31
+                <?php else {
32
+    : ?>
33
+                <div class="mf-headline"><?php echo $props['content']['headline'];
34
+}
35
+?></div>
33 36
                 <?php if ($props['content']['tagline']): ?>
34 37
                     <div class="mf-tagline"><?php echo $props['content']['tagline']; ?></div>
35 38
                 <?php endif; ?>
Please login to merge, or discard this patch.
plugins/MauticFocusBundle/Views/Builder/Bar/index.html.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,11 @@
 block discarded – undo
19 19
     <div class="mf-content">
20 20
         <?php if (in_array($htmlMode, ['editor', 'html'])): ?>
21 21
             <?php echo html_entity_decode($focus[$htmlMode]); ?>
22
-        <?php else: ?>
23
-        <div class="mf-headline"><?php echo $props['content']['headline']; ?></div>
22
+        <?php else {
23
+    : ?>
24
+        <div class="mf-headline"><?php echo $props['content']['headline'];
25
+}
26
+?></div>
24 27
         <?php if ($focus['type'] == 'form'): ?>
25 28
             {focus_form}
26 29
         <?php elseif ($focus['type'] == 'link'): ?>
Please login to merge, or discard this patch.