Completed
Branch master (56f00b)
by Ievgen
02:24
created
tests/codeception/_bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 defined('YII_DEBUG') or define('YII_DEBUG', true);
3 3
 defined('YII_ENV') or define('YII_ENV', 'test');
4 4
 
5
-require_once(__DIR__ . '/../../vendor/autoload.php');
6
-require_once(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
5
+require_once(__DIR__.'/../../vendor/autoload.php');
6
+require_once(__DIR__.'/../../vendor/yiisoft/yii2/Yii.php');
7 7
 
8 8
 $_SERVER['SERVER_NAME'] = 'localhost';
9 9
 
Please login to merge, or discard this patch.
views/add_room.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@  discard block
 block discarded – undo
4 4
             <div class="modal-header">
5 5
                 <button type="button" class="close" data-dismiss="modal">
6 6
                     <span aria-hidden="true">&times;</span>
7
-                    <span class="sr-only"><?=Yii::t('app', 'Close');?></span>
7
+                    <span class="sr-only"><?=Yii::t('app', 'Close'); ?></span>
8 8
                 </button>
9
-                <h4 class="modal-title"><?=Yii::t('app', 'Add Room');?></h4>
9
+                <h4 class="modal-title"><?=Yii::t('app', 'Add Room'); ?></h4>
10 10
             </div>
11 11
             <div class="modal-body">
12 12
                 <form class="form-horizontal" role="form">
13 13
                     <div class="form-group">
14
-                        <label class="col-sm-2 control-label" for="title"><?=Yii::t('app', 'Title');?>:</label>
14
+                        <label class="col-sm-2 control-label" for="title"><?=Yii::t('app', 'Title'); ?>:</label>
15 15
                         <div class="col-sm-10">
16 16
                             <input type="text" class="form-control" id="title" name="title">
17 17
                         </div>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
                 </form>
20 20
             </div>
21 21
             <div class="modal-footer">
22
-                <button type="button" class="btn btn-default" data-dismiss="modal"><?=Yii::t('app', 'Close');?></button>
23
-                <button type="button" id="add-room-btn" class="btn btn-primary"><?=Yii::t('app', 'Add');?></button>
22
+                <button type="button" class="btn btn-default" data-dismiss="modal"><?=Yii::t('app', 'Close'); ?></button>
23
+                <button type="button" id="add-room-btn" class="btn btn-primary"><?=Yii::t('app', 'Add'); ?></button>
24 24
             </div>
25 25
         </div>
26 26
     </div>
Please login to merge, or discard this patch.
views/add_user.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@  discard block
 block discarded – undo
4 4
             <div class="modal-header">
5 5
                 <button type="button" class="close" data-dismiss="modal">
6 6
                     <span aria-hidden="true">&times;</span>
7
-                    <span class="sr-only"><?=Yii::t('app', 'Close');?></span>
7
+                    <span class="sr-only"><?=Yii::t('app', 'Close'); ?></span>
8 8
                 </button>
9
-                <h4 class="modal-title"><?=Yii::t('app', 'Add User');?></h4>
9
+                <h4 class="modal-title"><?=Yii::t('app', 'Add User'); ?></h4>
10 10
             </div>
11 11
             <div class="modal-body">
12 12
                 <form class="form-horizontal" role="form">
13 13
                     <div class="form-group">
14
-                        <label class="col-sm-2 control-label" for="username"><?=Yii::t('app', 'Username');?>:</label>
14
+                        <label class="col-sm-2 control-label" for="username"><?=Yii::t('app', 'Username'); ?>:</label>
15 15
                         <div class="col-sm-10">
16 16
                             <input type="text" class="form-control" id="username" name="username">
17 17
                         </div>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
                 </form>
20 20
             </div>
21 21
             <div class="modal-footer">
22
-                <button type="button" class="btn btn-default" data-dismiss="modal"><?=Yii::t('app', 'Close');?></button>
23
-                <button type="button" id="add-user-btn" class="btn btn-primary"><?=Yii::t('app', 'Add');?></button>
22
+                <button type="button" class="btn btn-default" data-dismiss="modal"><?=Yii::t('app', 'Close'); ?></button>
23
+                <button type="button" id="add-user-btn" class="btn btn-primary"><?=Yii::t('app', 'Add'); ?></button>
24 24
             </div>
25 25
         </div>
26 26
     </div>
Please login to merge, or discard this patch.
views/index.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
                 <div class="input-group-addon"><i class="fa fa-envelope-o"></i></div>
13 13
                 <input type="text" id="chat-message" name="chat_message" class="form-control" placeholder="Enter Message">
14 14
                 <div class="input-group-btn">
15
-                    <button type="button" id="send-msg" class="btn btn-primary"><?=Yii::t('app', 'Send');?></button>
15
+                    <button type="button" id="send-msg" class="btn btn-primary"><?=Yii::t('app', 'Send'); ?></button>
16 16
                 </div>
17 17
             </div>
18 18
         </div>
@@ -22,10 +22,10 @@  discard block
 block discarded – undo
22 22
             <h4><i class="fa fa-weixin"></i><?=Yii::t('app', 'Chat Rooms')?></h4>
23 23
             <div class="btn-group" role="group">
24 24
                 <?php if ($add_room) :?>
25
-                    <button type="button" id="add-chat" class="btn btn-default"><?=Yii::t('app', 'Add');?></button>
26
-                <?php endif;?>
25
+                    <button type="button" id="add-chat" class="btn btn-default"><?=Yii::t('app', 'Add'); ?></button>
26
+                <?php endif; ?>
27 27
                 <button type="button" id="exit-chat" class="btn btn-default">
28
-                    <i class="fa fa-sign-out"></i><?=Yii::t('app', 'Exit');?>
28
+                    <i class="fa fa-sign-out"></i><?=Yii::t('app', 'Exit'); ?>
29 29
                 </button>
30 30
             </div>
31 31
             <div class="list-group-container"></div>
@@ -33,17 +33,17 @@  discard block
 block discarded – undo
33 33
     </div>
34 34
     <div role="navigation" class="col-md-3">
35 35
         <div id="user-list" class="list-group">
36
-            <h4><i class="fa fa-users"></i><?=Yii::t('app', 'Online Users');?></h4>
36
+            <h4><i class="fa fa-users"></i><?=Yii::t('app', 'Online Users'); ?></h4>
37 37
             <div class="list-group-container"></div>
38 38
         </div>
39 39
     </div>
40 40
 </div>
41
-<?=$this->render('user');?>
42
-<?=$this->render('room');?>
41
+<?=$this->render('user'); ?>
42
+<?=$this->render('room'); ?>
43 43
 <?php if ($add_room) :?>
44
-    <?=$this->render('add_room');?>
45
-<?php endif;?>
46
-<?=$this->render('message');?>
47
-<?php if(!$auth):?>
48
-    <?=$this->render('add_user');?>
49
-<?php endif;?>
44
+    <?=$this->render('add_room'); ?>
45
+<?php endif; ?>
46
+<?=$this->render('message'); ?>
47
+<?php if (!$auth):?>
48
+    <?=$this->render('add_user'); ?>
49
+<?php endif; ?>
Please login to merge, or discard this patch.