Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
database/migrations/2016_07_09_123149_create_sd_change_release_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('sd_change_release', function (Blueprint $table) {
15
+        Schema::create('sd_change_release', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('change_id')->unsigned()->nullable();
18 18
             $table->foreign('change_id')->references('id')->on('sd_changes');
Please login to merge, or discard this patch.
Itil/database/migrations/2016_07_05_103737_create_sd_cab_votes_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('sd_cab_votes', function (Blueprint $table) {
15
+        Schema::create('sd_cab_votes', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('cab_id')->unsigned()->nullable();
18 18
             $table->foreign('cab_id')->references('id')->on('sd_cab');
Please login to merge, or discard this patch.
app/Itil/lang/en/lang.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * common
16 16
      */
17
-     'show'=>'Show',
17
+        'show'=>'Show',
18 18
     'edit'=>'Edit',
19 19
 
20 20
     
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
     'vote'=>'Vote',
368 368
     'comment'=>'Comment',
369 369
     'show-vote'=>'Show Vote',
370
-     /*
370
+        /*
371 371
       |--------------------------------------
372 372
       |   Location Catagory create lang
373 373
       |--------------------------------------
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     'assigned'=>'Assigned',
404 404
     'serial_no'=>'Serial No',
405 405
     
406
-     /*
406
+        /*
407 407
       |--------------------------------------
408 408
       |   Location Catagory create lang
409 409
       |--------------------------------------
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Group extends Model
10 10
 {
11 11
     protected $table = 'sd_group_types';
12
-    protected $fillable = ['id','name','created_at','updated_at',
12
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at',
13 13
         
14 14
     ];
15 15
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Status.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class Attachments extends Model
8 8
 {
9 9
     protected $table = 'sd_attachments';
10
-    protected $fillable = ['id','saved','owner','value','type','size','created_at','updated_at',
10
+    protected $fillable = ['id', 'saved', 'owner', 'value', 'type', 'size', 'created_at', 'updated_at',
11 11
         
12 12
     ];
13 13
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/SdProblem.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
                 foreach ($ids as $id) {
74 74
                     $ass = $asset->find($id);
75 75
                     if ($ass) {
76
-                        $value = "<a href=" . url('service-desk/assets/' . $id . '/show') . ">" . ucfirst($ass->name) . "</a>";
77
-                        $assets .=$value . "</br>";
76
+                        $value = "<a href=".url('service-desk/assets/'.$id.'/show').">".ucfirst($ass->name)."</a>";
77
+                        $assets .= $value."</br>";
78 78
                     }
79 79
                 }
80 80
             }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             $attrs = $this->belongsTo('App\Itil\Models\Problem\Location', 'location_type_id')->first();
143 143
             //dd($attrs);
144 144
             if ($attrs) {
145
-                $value = "<a href=" . url('service-desk/location-types/' . $attr . '/show') . ">$attrs->title</a>";
145
+                $value = "<a href=".url('service-desk/location-types/'.$attr.'/show').">$attrs->title</a>";
146 146
             }
147 147
         }
148 148
         return ucfirst($value);
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
             $value = str_limit($attr, 10);
209 209
         }
210 210
         if (strlen($value) > 10) {
211
-            $value .="  <a href=# id='show-description'>Show</a>";
211
+            $value .= "  <a href=# id='show-description'>Show</a>";
212 212
         }
213 213
         return ucfirst($value);
214 214
     }
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     public function subject() {
331 331
         $id = $this->attributes['id'];
332 332
         $title = $this->attributes['subject'];
333
-        $subject = "<a href=" . url('service-desk/problem/' . $id . '/show') . ">" . $title . "</a>";
333
+        $subject = "<a href=".url('service-desk/problem/'.$id.'/show').">".$title."</a>";
334 334
         return $subject;
335 335
     }
336 336
 
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Priority.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Priority extends Model
10 10
 {
11 11
     protected $table = 'sd_priority_types';
12
-    protected $fillable = ['id','name','contract_end_date','created_at','updated_at',
12
+    protected $fillable = ['id', 'name', 'contract_end_date', 'created_at', 'updated_at',
13 13
         
14 14
     ];
15 15
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Assigned.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Assigned extends Model
10 10
 {
11 11
     protected $table = 'sd_assigned_types';
12
-    protected $fillable = ['id','name','created_at','updated_at',
12
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at',
13 13
         
14 14
     ];
15 15
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Agent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Agent extends Model
10 10
 {
11 11
     protected $table = 'sd_agent_types';
12
-    protected $fillable = ['id','name','created_at','updated_at',
12
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at',
13 13
         
14 14
     ];
15 15
 }
Please login to merge, or discard this patch.