Completed
Branch master (56f00b)
by Ievgen
02:24
created
collections/History.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,4 +79,4 @@
 block discarded – undo
79 79
         return true;
80 80
     }
81 81
 }
82
- 
83 82
\ No newline at end of file
83
+    
84 84
\ No newline at end of file
Please login to merge, or discard this patch.
components/ChatManager.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,4 +169,4 @@
 block discarded – undo
169 169
         return array_reverse($data);
170 170
     }
171 171
 }
172
- 
173 172
\ No newline at end of file
173
+    
174 174
\ No newline at end of file
Please login to merge, or discard this patch.
components/ChatRoom.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,4 +71,4 @@
 block discarded – undo
71 71
         unset($this->users[$user->getId()]);
72 72
     }
73 73
 }
74
- 
75 74
\ No newline at end of file
75
+    
76 76
\ No newline at end of file
Please login to merge, or discard this patch.
components/DbStorage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,4 +71,4 @@
 block discarded – undo
71 71
         return true;
72 72
     }
73 73
 }
74
- 
75 74
\ No newline at end of file
75
+    
76 76
\ No newline at end of file
Please login to merge, or discard this patch.
components/User.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,4 +128,4 @@
 block discarded – undo
128 128
         $this->chat->addUser($this);
129 129
     }
130 130
 }
131
- 
132 131
\ No newline at end of file
132
+    
133 133
\ No newline at end of file
Please login to merge, or discard this patch.
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.
tests/codeception/unit/ChatTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 class ChatTest extends TestCase
9 9
 {
10
-   /** @var \UnitTester */
10
+    /** @var \UnitTester */
11 11
     protected $tester;
12 12
     /** @var \jones\wschat\components\ChatManager */
13 13
     protected $cm;
Please login to merge, or discard this patch.
tests/codeception/unit/PgsqlStorageTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class PgsqlStorageTest extends TestCase
8 8
 {
9
-   protected $params = [
9
+    protected $params = [
10 10
         'chat_id' => 1,
11 11
         'chat_title' => 'Pgsql chat room',
12 12
         'user_id' => 1,
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.