Skip to content

Commit c154e3a

Browse files
Merge pull request #5 from genealogiawebsite/analysis-M1D4VM
Apply fixes from StyleCI
2 parents 8b7555f + b48a804 commit c154e3a

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

src/Models/Family.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace GenealogiaWebsite\LaravelGedcom\Models;
44

55
use Illuminate\Database\Eloquent\Model;
6-
use GenealogiaWebsite\LaravelGedcom\Models\Person;
76

87
class Family extends Model
98
{

src/Models/Person.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
namespace GenealogiaWebsite\LaravelGedcom\Models;
44

5-
use GenealogiaWebsite\LaravelGedcom\Models\Family;
6-
use GenealogiaWebsite\LaravelGedcom\Models\PersonEvent;
7-
use GenealogiaWebsite\LaravelGedcom\Models\Place;
85
use Illuminate\Database\Eloquent\Model;
96

107
class Person extends Model

src/Utils/GedcomParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ public function parse($conn, string $filename, string $slug, bool $progressBar =
220220
//Record end time and calculate total execution time
221221
$time_end = microtime(true);
222222
$execution_time = ($time_end - $time_start);
223-
error_log("\nTotal Execution Time: " . round($execution_time) . " Seconds");
224-
223+
error_log("\nTotal Execution Time: ".round($execution_time).' Seconds');
224+
225225
$bar->finish();
226226
}
227227
}

src/Utils/Importer/Caln.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public static function read($conn, $caln, $group = null, $gid = null)
2727
'gid' => $gid,
2828
'medi' => $medi,
2929
];
30-
$_caln = MCaln::on($conn)->updateOrCreate($key, $data);
30+
$_caln = MCaln::on($conn)->updateOrCreate($key, $data);
3131
}
3232
}

src/migrations/2020_01_01_120000_create_people_table.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ public function up()
3232

3333
$table->timestamps();
3434
});
35-
3635
}
3736
}
3837

3938
public function down()
4039
{
41-
4240
Schema::dropIfExists('people');
4341
}
4442
}

0 commit comments

Comments
 (0)