Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Plugins/ServiceDesk/ServiceProvider.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
          * Views
23 23
          */
24 24
         
25
-         $view_path = app_path().DIRECTORY_SEPARATOR.'Plugins'.DIRECTORY_SEPARATOR.'ServiceDesk'.DIRECTORY_SEPARATOR.'views';
26
-         $this->loadViewsFrom($view_path, 'service');
25
+            $view_path = app_path().DIRECTORY_SEPARATOR.'Plugins'.DIRECTORY_SEPARATOR.'ServiceDesk'.DIRECTORY_SEPARATOR.'views';
26
+            $this->loadViewsFrom($view_path, 'service');
27 27
         
28 28
         /**
29 29
          * Translation
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
         /**
13 13
          * Migrations
14 14
          */
15
-        $path = __DIR__ . '/database/migrations';
15
+        $path = __DIR__.'/database/migrations';
16 16
         $this->publishes([
17 17
             $path => database_path('/migrations/test')
18 18
                 ], 'migrations');
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
         $controller = new Controllers\ActivateController();
37 37
         $controller->activate();
38 38
         
39
-        if (class_exists('Breadcrumbs')){
40
-            require __DIR__ . '/breadcrumbs.php';
39
+        if (class_exists('Breadcrumbs')) {
40
+            require __DIR__.'/breadcrumbs.php';
41 41
         }   
42 42
         
43 43
         parent::boot('ServiceDesk');
Please login to merge, or discard this patch.
app/FaveoStorage/Controllers/SettingsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
         return ' <div class="col-md-2 col-sm-6">
18 18
                     <div class="settingiconblue">
19 19
                         <div class="settingdivblue">
20
-                            <a href="' . url('storage') . '">
20
+                            <a href="' . url('storage').'">
21 21
                                 <span class="fa-stack fa-2x">
22 22
                                     <i class="fa fa-save fa-stack-1x"></i>
23 23
                                 </span>
24 24
                             </a>
25 25
                         </div>
26
-                        <p class="box-title" >' . Lang::get('storage::lang.storage') . '</p>
26
+                        <p class="box-title" >' . Lang::get('storage::lang.storage').'</p>
27 27
                     </div>
28 28
                 </div>';
29 29
     }
Please login to merge, or discard this patch.
database/migrations/2016_11_30_122809_alter_attachment_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('ticket_attachment', function (Blueprint $table) {
15
+        Schema::table('ticket_attachment', function(Blueprint $table) {
16 16
             $table->string('driver');
17 17
             $table->string('path');
18 18
         });
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('ticket_attachment', function (Blueprint $table) {
28
+        Schema::table('ticket_attachment', function(Blueprint $table) {
29 29
             $table->string('driver');
30 30
             $table->string('path');
31 31
         });
Please login to merge, or discard this patch.
app/FaveoStorage/breadcrumbs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-Breadcrumbs::register('storage', function ($breadcrumbs) {
3
+Breadcrumbs::register('storage', function($breadcrumbs) {
4 4
     $breadcrumbs->parent('setting');
5 5
     $breadcrumbs->push('Storage', route('storage'));
6 6
 });
Please login to merge, or discard this patch.
app/FaveoStorage/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-\Event::listen('settings.system', function () {
3
+\Event::listen('settings.system', function() {
4 4
     $controller = new \App\FaveoStorage\Controllers\SettingsController();
5 5
     echo $controller->settingsIcon();
6 6
 });
7 7
 
8
-Route::group(['middleware'=>['web']], function () {
8
+Route::group(['middleware'=>['web']], function() {
9 9
     Route::get('storage', ['as'=>'storage', 'uses'=>'App\FaveoStorage\Controllers\SettingsController@settings']);
10 10
     Route::post('storage', ['as'=>'post.storage', 'uses'=>'App\FaveoStorage\Controllers\SettingsController@postSettings']);
11 11
     Route::get('attachment', ['as'=>'attach', 'uses'=>'App\FaveoStorage\Controllers\SettingsController@attachment']);
Please login to merge, or discard this patch.
app/Model/helpdesk/Notification/Notification.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     public function delete()
60 60
     {
61 61
         $this->deleteUserNotification();
62
-       // $this->dummyDelete();
62
+        // $this->dummyDelete();
63 63
         parent::delete();
64 64
     }
65 65
 }
Please login to merge, or discard this patch.
app/Http/Requests/helpdesk/PriorityRequest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@
 block discarded – undo
30 30
     {
31 31
         return [
32 32
 
33
-             'priority'                                     => 'required|max:10',
33
+                'priority'                                     => 'required|max:10',
34 34
             'status'                                        => 'required',
35 35
             'priority_desc'                                 => 'required|max:255',
36 36
             'priority_color'                                => 'required',
37
-             'ispublic'                                     => 'required',
38
-             'priority_successfully_updated'                => 'priority successfully updated',
39
-                          'priority_successfully_created!!!'=> 'priority successfully created',
37
+                'ispublic'                                     => 'required',
38
+                'priority_successfully_updated'                => 'priority successfully updated',
39
+                            'priority_successfully_created!!!'=> 'priority successfully created',
40 40
 
41 41
         ];
42 42
     }
Please login to merge, or discard this patch.
app/Http/Requests/helpdesk/Mail/MailRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 return $rules;
69 69
             case 'mandrill':
70 70
                 $rules = [
71
-                   'secret'=> 'required',
71
+                    'secret'=> 'required',
72 72
                 ];
73 73
 
74 74
                 return $rules;
Please login to merge, or discard this patch.
app/Http/Controllers/Common/NotificationController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,11 +157,11 @@
 block discarded – undo
157 157
     public static function getNotifications()
158 158
     {
159 159
         $notifications = UserNotification::with([
160
-                    'notification.type' => function ($query) {
160
+                    'notification.type' => function($query) {
161 161
                         $query->select('id', 'message', 'type');
162
-                    }, 'users' => function ($query) {
162
+                    }, 'users' => function($query) {
163 163
                         $query->select('id', 'email', 'profile_pic');
164
-                    }, 'notification.model' => function ($query) {
164
+                    }, 'notification.model' => function($query) {
165 165
                         $query->select('id', 'ticket_number');
166 166
                     },
167 167
         ])->where('user_id', '=', \Auth::user()->id);
Please login to merge, or discard this patch.