Passed
Push — master ( c86e8c...1b1f16 )
by Mihail
04:54
created
Apps/View/Admin/default/profile/field_list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
     ]
66 66
 ]);
67 67
     ?>
68
-<?php else: ?>
68
+<?php else {
69
+    : ?>
69 70
     <p class="alert alert-warning"><?= __('No additional fields is add yet!') ?></p>
70
-<?php endif; ?>
71 71
\ No newline at end of file
72
+<?php endif;
73
+}
74
+?>
72 75
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Install/default/main/index.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,9 +88,12 @@
 block discarded – undo
88 88
             <a href="#license" class="btn btn-success btn-block" id="install-link" disabled="disabled"><?= __('Start install') ?></a>
89 89
         </div>
90 90
     </div>
91
-<?php else: ?>
91
+<?php else {
92
+    : ?>
92 93
     <?= \Ffcms\Core\Helper\Url::link('main/index', __('Check again'), ['class' => 'btn btn-warning btn-block']) ?>
93
-<?php endif; ?>
94
+<?php endif;
95
+}
96
+?>
94 97
 <script>
95 98
     $(document).ready(function () {
96 99
         $('#agree-license').change(function () {
Please login to merge, or discard this patch.
Private/Config/Object.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,12 +71,14 @@
 block discarded – undo
71 71
             ->setUsername($mCfg['user']);
72 72
 
73 73
         // set auth password if exist
74
-        if ($mCfg['password'] !== null && strlen($mCfg['password']) > 0)
75
-            $transport->setPassword($mCfg['password']);
74
+        if ($mCfg['password'] !== null && strlen($mCfg['password']) > 0) {
75
+                    $transport->setPassword($mCfg['password']);
76
+        }
76 77
 
77 78
         // set encryption method
78
-        if (\Ffcms\Core\Helper\Type\Arr::in($mCfg['encrypt'], ['tls', 'ssl']))
79
-            $transport->setEncryption($mCfg['encrypt']);
79
+        if (\Ffcms\Core\Helper\Type\Arr::in($mCfg['encrypt'], ['tls', 'ssl'])) {
80
+                    $transport->setEncryption($mCfg['encrypt']);
81
+        }
80 82
 
81 83
         // initialize mailer instance
82 84
         $swift = (new Swift_Mailer($transport));
Please login to merge, or discard this patch.