Passed
Push — master ( 616baf...b21109 )
by Mihail
06:26
created
Apps/View/Front/default/profile/index.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@  discard block
 block discarded – undo
14 14
 $this->title = __('User list');
15 15
 
16 16
 if ($id === 'all') {
17
-    $this->title .= ': ' . __('All');
17
+    $this->title .= ': '.__('All');
18 18
 } elseif ($id === 'rating') {
19
-    $this->title .= ': ' . __('Rating');
19
+    $this->title .= ': '.__('Rating');
20 20
 } elseif ($id === 'city') {
21
-    $this->title .= ': ' . __('City') . ' ' . \App::$Security->strip_tags($add);
21
+    $this->title .= ': '.__('City').' '.\App::$Security->strip_tags($add);
22 22
 } elseif ($id === 'hobby') {
23
-    $this->title .= ': ' . __('Hobby') . ' ' . \App::$Security->strip_tags($add);
23
+    $this->title .= ': '.__('Hobby').' '.\App::$Security->strip_tags($add);
24 24
 }
25 25
 
26 26
 $this->breadcrumbs = [
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
 <?php
37 37
     if ($records === null || $records->count() < 1) {
38
-        echo '<div class="alert alert-danger">' . __('Users are not founded!') . '</div>';
38
+        echo '<div class="alert alert-danger">'.__('Users are not founded!').'</div>';
39 39
         return;
40 40
     }
41 41
 ?>
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
         </div>
49 49
         <div class="col-md-8">
50 50
             <h3>
51
-                <?= Url::link(['profile/show', $profile->user_id], Str::likeEmpty($profile->nick) ? __('No name') . '(id' . $profile->user_id . ')' : $profile->nick) ?>
51
+                <?= Url::link(['profile/show', $profile->user_id], Str::likeEmpty($profile->nick) ? __('No name').'(id'.$profile->user_id.')' : $profile->nick) ?>
52 52
             </h3>
53 53
             <p><?= __('Registered') ?>: <?= Date::convertToDatetime($profile->created_at, Date::FORMAT_TO_DAY) ?></p>
54 54
             <?php if (\App::$User->identity() !== null && $profile->user_id !== \App::$User->identity()->getId()): ?>
55
-                <?= Url::link(['profile/messages', null, null, ['newdialog' => $profile->user_id]], '<i class="fa fa-pencil-square-o"></i> '  . __('New message'), ['class' => 'btn btn-info']) ?>
55
+                <?= Url::link(['profile/messages', null, null, ['newdialog' => $profile->user_id]], '<i class="fa fa-pencil-square-o"></i> '.__('New message'), ['class' => 'btn btn-info']) ?>
56 56
             <?php endif; ?>
57 57
         </div>
58 58
         <div class="col-md-2">
Please login to merge, or discard this patch.