Completed
Push — master ( 5072c0...9dde9b )
by Bhanu
384:06 queued 339:26
created
database/migrations/2016_01_07_124244_create_invoices_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('invoices', function (Blueprint $table) {
15
+        Schema::create('invoices', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
                         $table->integer('user_id')->unsigned();
18 18
                         $table->foreign('user_id')->references('id')->on('users');
Please login to merge, or discard this patch.
public/plugins/datatables/extensions/Scroller/examples/data/ssp.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = [
32
-    ['db' => 'id',         'dt' => 0],
33
-    ['db' => 'firstname',  'dt' => 1],
34
-    ['db' => 'surname',    'dt' => 2],
35
-    ['db' => 'zip',        'dt' => 3],
36
-    ['db' => 'country',    'dt' => 4],
32
+    ['db' => 'id', 'dt' => 0],
33
+    ['db' => 'firstname', 'dt' => 1],
34
+    ['db' => 'surname', 'dt' => 2],
35
+    ['db' => 'zip', 'dt' => 3],
36
+    ['db' => 'country', 'dt' => 4],
37 37
 ];
38 38
 
39 39
 // SQL server connection information
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function map(Router $router)
41 41
     {
42
-        $router->group(['namespace' => $this->namespace], function ($router) {
42
+        $router->group(['namespace' => $this->namespace], function($router) {
43 43
             require app_path('Http/routes.php');
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
app/Plugins/Twilio/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 Route::get('sms/twilio', 'App\Plugins\Twilio\Controllers\SettingsController@Settings');
4 4
 Route::patch('sms/twilio', 'App\Plugins\Twilio\Controllers\SettingsController@postSettings');
5
-\Event::listen('App\Events\SmsIntegration', function ($event) {
5
+\Event::listen('App\Events\SmsIntegration', function($event) {
6 6
     $controller = new App\Plugins\Twilio\Controllers\ProcessController();
7 7
     echo $controller->Process($event->para);
8 8
 });
Please login to merge, or discard this patch.
app/Plugins/Twilio/Controllers/SettingsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         //dd('sdkcjdsh');
21 21
         try {
22 22
             if (!Schema::hasTable('twilio')) {
23
-                Schema::create('twilio', function ($table) {
23
+                Schema::create('twilio', function($table) {
24 24
                     $table->increments('id');
25 25
                     $table->string('account_sid');
26 26
                     $table->string('auth_token');
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             if (!$twilio) {
37 37
                 $twilio1->create(['id' => '1']);
38 38
             }
39
-            $path = app_path().'/Plugins/Twilio/views';
39
+            $path = app_path() . '/Plugins/Twilio/views';
40 40
             \View::addNamespace('plugins', $path);
41 41
 
42 42
             return view('plugins::settings', compact('twilio'));
Please login to merge, or discard this patch.
app/Plugins/Ping/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 //Route::get('payment-gateway/ping','App\Plugins\Ping\Controllers\SettingsController@Settings');
4 4
 //Route::patch('payment-gateway/ping','App\Plugins\Ping\Controllers\SettingsController@postSettings');
5 5
 //Route::get('payment-gateway/response','App\Plugins\Ping\Controllers\ProcessController@Response');
6
-\Event::listen('App\Events\PaymentGateway', function ($event) {
6
+\Event::listen('App\Events\PaymentGateway', function($event) {
7 7
     $controller = new App\Plugins\Ping\Controllers\ProcessController();
8 8
     echo $controller->Process($event->para);
9 9
 });
Please login to merge, or discard this patch.
app/Plugins/Ping/Controllers/SettingsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         //dd('sdkcjdsh');
20 20
         try {
21 21
             if (!Schema::hasTable('ccavanue')) {
22
-                Schema::create('ccavanue', function ($table) {
22
+                Schema::create('ccavanue', function($table) {
23 23
                     $table->increments('id');
24 24
                     $table->string('merchant_id');
25 25
                     $table->string('access_code');
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             if (!$ccavanue) {
39 39
                 $ccavanue1->create(['id' => '1']);
40 40
             }
41
-            $path = app_path().'/Plugins/Ccavanue/views';
41
+            $path = app_path() . '/Plugins/Ccavanue/views';
42 42
             \View::addNamespace('plugins', $path);
43 43
 
44 44
             return view('plugins::settings', compact('ccavanue'));
Please login to merge, or discard this patch.
app/Plugins/ServiceProvider.php 1 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
 //                'app/' . $module => app_path() . '/Plugins/' . $module . '/config',
13 13
 //            ]);
14 14
             $this->publishes([
15
-                'app/plugins/'.$module.'/Config/config.php' => config_path($module.'/config.php'),
15
+                'app/plugins/' . $module . '/Config/config.php' => config_path($module . '/config.php'),
16 16
             ]);
17 17
         }
18 18
     }
@@ -27,11 +27,11 @@  discard block
 block discarded – undo
27 27
 //            ]);
28 28
 
29 29
             $this->publishes([
30
-                'app/plugins/'.$module.'/Config/config.php' => config_path($module.'/config.php'),
30
+                'app/plugins/' . $module . '/Config/config.php' => config_path($module . '/config.php'),
31 31
             ]);
32 32
 
33 33
             // Add routes
34
-            $routes = app_path().'/Plugins/'.$module.'/routes.php';
34
+            $routes = app_path() . '/Plugins/' . $module . '/routes.php';
35 35
             if (file_exists($routes)) {
36 36
                 require $routes;
37 37
             }
Please login to merge, or discard this patch.
app/Http/Controllers/Product/PlanController.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@  discard block
 block discarded – undo
40 40
         //dd($user);
41 41
 
42 42
         return \Datatable::collection($this->plan->get())
43
-                        ->addColumn('#', function ($model) {
44
-                            return "<input type='checkbox' value=".$model->id.' name=select[] id=check>';
43
+                        ->addColumn('#', function($model) {
44
+                            return "<input type='checkbox' value=" . $model->id . ' name=select[] id=check>';
45 45
                         })
46 46
                         ->showColumns('name', 'subscription', 'price', 'expiry')
47 47
 
48
-                        ->addColumn('action', function ($model) {
49
-                            return '<a href='.url('plans/'.$model->id.'/edit')." class='btn btn-sm btn-primary'>Edit</a>";
48
+                        ->addColumn('action', function($model) {
49
+                            return '<a href=' . url('plans/' . $model->id . '/edit') . " class='btn btn-sm btn-primary'>Edit</a>";
50 50
                         })
51 51
                         ->searchColumns('name', 'subscription', 'price', 'expiry')
52 52
                         ->orderColumns('name', 'subscription', 'price', 'expiry')
@@ -137,25 +137,25 @@  discard block
 block discarded – undo
137 137
                 } else {
138 138
                     echo "<div class='alert alert-success alert-dismissable'>
139 139
                     <i class='fa fa-ban'></i>
140
-                    <b>".\Lang::get('message.alert').'!</b> '.\Lang::get('message.success').'
140
+                    <b>".\Lang::get('message.alert') . '!</b> ' . \Lang::get('message.success') . '
141 141
                     <button type=button class=close data-dismiss=alert aria-hidden=true>&times;</button>
142
-                        '.\Lang::get('message.no-record').'
142
+                        '.\Lang::get('message.no-record') . '
143 143
                 </div>';
144 144
                     //echo \Lang::get('message.no-record') . '  [id=>' . $id . ']';
145 145
                 }
146 146
             }
147 147
             echo "<div class='alert alert-success alert-dismissable'>
148 148
                     <i class='fa fa-ban'></i>
149
-                    <b>".\Lang::get('message.alert').'!</b> '.\Lang::get('message.success').'
149
+                    <b>".\Lang::get('message.alert') . '!</b> ' . \Lang::get('message.success') . '
150 150
                     <button type=button class=close data-dismiss=alert aria-hidden=true>&times;</button>
151
-                        '.\Lang::get('message.deleted-successfully').'
151
+                        '.\Lang::get('message.deleted-successfully') . '
152 152
                 </div>';
153 153
         } else {
154 154
             echo "<div class='alert alert-success alert-dismissable'>
155 155
                     <i class='fa fa-ban'></i>
156
-                    <b>".\Lang::get('message.alert').'!</b> '.\Lang::get('message.success').'
156
+                    <b>".\Lang::get('message.alert') . '!</b> ' . \Lang::get('message.success') . '
157 157
                     <button type=button class=close data-dismiss=alert aria-hidden=true>&times;</button>
158
-                        '.\Lang::get('message.select-a-row').'
158
+                        '.\Lang::get('message.select-a-row') . '
159 159
                 </div>';
160 160
             //echo \Lang::get('message.select-a-row');
161 161
         }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Store a newly created resource in storage.
85 85
      *
86
-     * @return Response
86
+     * @return \Illuminate\Http\RedirectResponse
87 87
      */
88 88
     public function store(ClientRequest $request)
89 89
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      *
144 144
      * @param int $id
145 145
      *
146
-     * @return Response
146
+     * @return \Illuminate\Http\RedirectResponse
147 147
      */
148 148
     public function update($id, ClientRequest $request)
149 149
     {
@@ -156,7 +156,6 @@  discard block
 block discarded – undo
156 156
     /**
157 157
      * Remove the specified resource from storage.
158 158
      *
159
-     * @param int $id
160 159
      *
161 160
      * @return Response
162 161
      */
Please login to merge, or discard this patch.