Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Plugins/ServiceDesk/database/seeds/SdContractTypes.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class SdContractTypes extends Seeder{
12 12
     public function run() {
13 13
         $names = ['Lease','Software License','Maintenance',];
14
-         $created_at = date('Y-d-m H:m:i');
14
+            $created_at = date('Y-d-m H:m:i');
15 15
         $updated_at = date('Y-d-m H:m:i');
16 16
         foreach($names as $name){
17 17
             DB::table('sd_contract_types')
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
  * and open the template in the editor.
9 9
  */
10 10
 
11
-class SdContractTypes extends Seeder{
11
+class SdContractTypes extends Seeder {
12 12
     public function run() {
13
-        $names = ['Lease','Software License','Maintenance',];
13
+        $names = ['Lease', 'Software License', 'Maintenance', ];
14 14
          $created_at = date('Y-d-m H:m:i');
15 15
         $updated_at = date('Y-d-m H:m:i');
16
-        foreach($names as $name){
16
+        foreach ($names as $name) {
17 17
             DB::table('sd_contract_types')
18 18
                     ->insert(['name'=>$name,
19 19
                 'created_at'=>$created_at,
Please login to merge, or discard this patch.
app/Plugins/ServiceDesk/database/seeds/SdAssetAttachmentTypes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
  * and open the template in the editor.
9 9
  */
10 10
 
11
-class SdAssetAttachmentTypes extends Seeder{
11
+class SdAssetAttachmentTypes extends Seeder {
12 12
     public function run() {
13
-        $names = ['Database','File',];
13
+        $names = ['Database', 'File', ];
14 14
         $created_at = date('Y-d-m H:m:i');
15 15
         $updated_at = date('Y-d-m H:m:i');
16
-        foreach($names as $name){
16
+        foreach ($names as $name) {
17 17
             DB::table('sd_attachment_types')
18 18
                     ->insert(['name'=>$name,
19 19
                 'created_at'=>$created_at,
Please login to merge, or discard this patch.
app/Plugins/ServiceDesk/database/seeds/SdImpactSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $names = ['Low', 'Medium', 'High'];
15 15
         $created_at = date('Y-d-m H:m:i');
16 16
         $updated_at = date('Y-d-m H:m:i');
17
-        foreach($names as $name){
17
+        foreach ($names as $name) {
18 18
             DB::table('sd_impact_types')
19 19
                     ->insert(['name'=>$name,
20 20
                 'created_at'=>$created_at,
Please login to merge, or discard this patch.
app/Plugins/ServiceDesk/database/seeds/SdLicenseTypes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
  * and open the template in the editor.
9 9
  */
10 10
 
11
-class SdLicenseTypes extends Seeder{
11
+class SdLicenseTypes extends Seeder {
12 12
     public function run() {
13
-        $names = ['open source','commercial'];
13
+        $names = ['open source', 'commercial'];
14 14
         $created_at = date('Y-d-m H:m:i');
15 15
         $updated_at = date('Y-d-m H:m:i');
16
-        foreach($names as $name){
16
+        foreach ($names as $name) {
17 17
             DB::table('sd_license_types')
18 18
                     ->insert(['name'=>$name,
19 19
                 'created_at'=>$created_at,
Please login to merge, or discard this patch.
app/Plugins/ServiceDesk/database/seeds/SdProductProcMode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
  * and open the template in the editor.
9 9
  */
10 10
 
11
-class SdProductProcMode extends Seeder{
11
+class SdProductProcMode extends Seeder {
12 12
     public function run() {
13
-        $names = ['Buy','Lease','Both'];
13
+        $names = ['Buy', 'Lease', 'Both'];
14 14
         $created_at = date('Y-d-m H:m:i');
15 15
         $updated_at = date('Y-d-m H:m:i');
16
-        foreach($names as $name){
16
+        foreach ($names as $name) {
17 17
             DB::table('sd_product_proc_mode')
18 18
                     ->insert(['name'=>$name,
19 19
                 'created_at'=>$created_at,
Please login to merge, or discard this patch.
database/migrations/2016_05_30_095428_create_sd_locations_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_locations', function (Blueprint $table) {
15
+        Schema::create('sd_locations', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('location_category_id')->unsigned()->nullable();
18 18
             $table->foreign('location_category_id')->references('id')->on('sd_location_categories');
Please login to merge, or discard this patch.
database/migrations/2016_05_30_122952_create_sd_contract_types_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_contract_types', function (Blueprint $table) {
15
+        Schema::create('sd_contract_types', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2016_05_31_102512_create_sd_change_status_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_status', function (Blueprint $table) {
15
+        Schema::create('sd_change_status', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2016_05_28_133807_create_sd_product_status_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_product_status', function (Blueprint $table) {
15
+        Schema::create('sd_product_status', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.