Passed
Push — master ( 6c15b3...c247e7 )
by
unknown
09:52
created
app/Jobs/ExportGedCom.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 //        Log::info("content from getGedcomPerson function => \n $content");
69 69
         // var_dump(\Storage::disk('public')->path($this->file), "job");
70 70
         $manager->storage()->put($this->file, $content);
71
- //       $filePath = 'public/' . $this->file;
71
+    //       $filePath = 'public/' . $this->file;
72 72
 //        $filePath = $manager->storage()->path($filePath);
73 73
 //	chmod_r('/home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/');
74 74
 exec("chmod -R 0777 ". storage_path('/tenants/'));
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function handle()
36 36
     {
37 37
         $p_id = $this->user->person_id; // person_id
38
-        $f_id = 0;                      // family_id
38
+        $f_id = 0; // family_id
39 39
 
40 40
         // $tenant = Manager::fromModel($this->user->company(), $this->user);
41 41
         // $tenant->connect();
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $person = Person::where("child_in_family_id", $this->user->id)->first();
49 49
 
50 50
             if ($person != null) {
51
-                $f_id=$person->child_in_family_id;
51
+                $f_id = $person->child_in_family_id;
52 52
             } else {
53 53
                 $f_id = 0;
54 54
             }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
  //       $filePath = 'public/' . $this->file;
72 72
 //        $filePath = $manager->storage()->path($filePath);
73 73
 //	chmod_r('/home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/');
74
-exec("chmod -R 0777 ". storage_path('/tenants/'));
74
+exec("chmod -R 0777 ".storage_path('/tenants/'));
75 75
 //exec ("find /home/genealogia/ap -type d -exec chmod 0750 {} +");
76 76
 //exec ("find /path/to/folder -type f -exec chmod 0644 {} +");
77 77
         // var_dump($path,'path');
Please login to merge, or discard this patch.
app/Http/Controllers/Gedcom/Export.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $manager = Manager::fromModel($request->user()->company(), $request->user());
24 24
         ExportGedCom::dispatchSync($filePath, $request->user());
25 25
 
26
-	    $filePath = $manager->storage()->path($filePath);
26
+        $filePath = $manager->storage()->path($filePath);
27 27
         Log::info("Read gedfile from ". $manager->storage()->path($filePath));
28 28
         // var_dump($filePath);
29 29
         return json_encode([
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,12 +19,12 @@
 block discarded – undo
19 19
         $file = env('APP_NAME').date('_Ymd_').$ts.'.ged';
20 20
         $file = str_replace(' ', '', $file);
21 21
         $file = str_replace("'", '', $file);
22
-        $filePath = 'public/' . $file;
22
+        $filePath = 'public/'.$file;
23 23
         $manager = Manager::fromModel($request->user()->company(), $request->user());
24 24
         ExportGedCom::dispatchSync($filePath, $request->user());
25 25
 
26 26
 	    $filePath = $manager->storage()->path($filePath);
27
-        Log::info("Read gedfile from ". $manager->storage()->path($filePath));
27
+        Log::info("Read gedfile from ".$manager->storage()->path($filePath));
28 28
         // var_dump($filePath);
29 29
         return json_encode([
30 30
 //            'file' => $manager->storage()->path($filePath)	,
Please login to merge, or discard this patch.