@@ -79,4 +79,4 @@ |
||
| 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 |
@@ -169,4 +169,4 @@ |
||
| 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 |
@@ -71,4 +71,4 @@ |
||
| 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 |
@@ -71,4 +71,4 @@ |
||
| 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 |
@@ -128,4 +128,4 @@ |
||
| 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 |
@@ -2,8 +2,8 @@ |
||
| 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 | |
@@ -7,7 +7,7 @@ |
||
| 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; |
@@ -6,7 +6,7 @@ |
||
| 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, |
@@ -4,14 +4,14 @@ discard block |
||
| 4 | 4 | <div class="modal-header"> |
| 5 | 5 | <button type="button" class="close" data-dismiss="modal"> |
| 6 | 6 | <span aria-hidden="true">×</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 |
||
| 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> |