Passed
Push — master ( 004834...f22cf7 )
by Mihail
04:58
created
Apps/View/Front/default/widgets/newcomment/default.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,4 @@
 block discarded – undo
1 1
 <?php
2
-use Ffcms\Core\Helper\Date;
3
-use Ffcms\Core\Helper\Text;
4 2
 use Ffcms\Core\Helper\Url;
5 3
 use Apps\Model\Api\Comments\EntityCommentData;
6 4
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,12 @@
 block discarded – undo
24 24
 			<li><i class="fa fa-user"></i>
25 25
 			<?php if ((int)$data['user']['id'] > 0): ?>
26 26
 				<?= Url::link(['profile/show', $data['user']['id']], $data['user']['name']) ?>
27
-			<?php else: ?>
27
+			<?php else {
28
+    : ?>
28 29
 				<?= $data['user']['name'] ?>
29
-			<?php endif; ?>
30
+			<?php endif;
31
+}
32
+?>
30 33
 			</li>
31 34
 		</ul>
32 35
 	</li>
Please login to merge, or discard this patch.
Widgets/Front/Newcomment/Newcomment.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Extend\Core\Arch\FrontWidget as AbstractWidget;
7 7
 use Ffcms\Core\Traits\OopTools;
8 8
 use Apps\ActiveRecord\CommentPost;
9
-use Apps\Model\Api\Comments\EntityCommentData;
10 9
 
11 10
 class Newcomment extends AbstractWidget
12 11
 {
Please login to merge, or discard this patch.