Passed
Push — master ( e50943...0cdbea )
by
unknown
21:24 queued 10:33
created
app/Models/Tenant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 class Tenant extends BaseTenant implements TenantWithDatabase
11 11
 {
12
-    use HasDatabase,HasDomains;
12
+    use HasDatabase, HasDomains;
13 13
 }
Please login to merge, or discard this patch.
app/Jobs/Geneanum/Sync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $result = $response->json();
66 66
 
67
-        if (! self::$is_testing) {
67
+        if (!self::$is_testing) {
68 68
             $has_more_result = $result['total'] > $result['page'];
69 69
             if ($has_more_result) {
70 70
                 $this->current_page++;
Please login to merge, or discard this patch.
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 /home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/");
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 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
             }
Please login to merge, or discard this patch.
app/Jobs/DnaMatching.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             // exec('python dna.py '.$this->var_name.' '.$dna->variable_name.' '.$this->file_name.' '.$dna->file_name, $dna_output);
50 50
             $result = exec('python3 dna.py '.$this->var_name.' '.$dna->variable_name.' '.$this->file_name.' '.$dna->file_name);
51 51
             $resultData = json_decode($result, true, 512, JSON_THROW_ON_ERROR);
52
-	    chmod('/home/genealogia/domains/api.genealogia.co.uk/genealogia/storage/app/public/dna/output/shared_dna_'.$this->var_name.'_'.$dna->variable_name.'_0p75cM_1100snps_GRCh37_HapMap2.png', 0777);
52
+        chmod('/home/genealogia/domains/api.genealogia.co.uk/genealogia/storage/app/public/dna/output/shared_dna_'.$this->var_name.'_'.$dna->variable_name.'_0p75cM_1100snps_GRCh37_HapMap2.png', 0777);
53 53
 
54 54
             $dm = new DM();
55 55
             $dm->user_id = $user->id;
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             // $dm->image = 'shared_dna_'.$this->var_name.'_'.$dna->variable_name.'.png';
61 61
             // $dm->image = 'shared_dna_'.$this->var_name.'_'.$dna->variable_name.'_0p75cM_1100snps_GRCh37_HapMap2.png';
62 62
             $dm->image = env('APP_URL').'/storage/dna/output/shared_dna_'.$this->var_name.'_'.
63
-					$dna->variable_name.'_0p75cM_1100snps_GRCh37_HapMap2.png';
63
+                    $dna->variable_name.'_0p75cM_1100snps_GRCh37_HapMap2.png';
64 64
             // $dm->file1 = 'discordant_snps_'.$this->var_name.'_'.$dna->variable_name.'_GRCh37.csv';
65 65
             $dm->file1 = 'discordant_snps_'.$this->var_name.'_'.$dna->variable_name.'_GRCh37.csv';
66 66
             // $dm->file2 = 'shared_dna_one_chrom_'.$this->var_name.'_'.$dna->variable_name.'_GRCh37.csv';
Please login to merge, or discard this patch.
app/Forms/Builders/NoteForm.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@
 block discarded – undo
20 20
     public function create()
21 21
     {
22 22
         return $this->form
23
- //   ->options('type_id', Type::all())
23
+    //   ->options('type_id', Type::all())
24 24
     ->create();
25 25
     }
26 26
 
27 27
     public function edit(Note $note)
28 28
     {
29 29
         return $this->form
30
-  //  ->options('type_id', Type::all())
30
+    //  ->options('type_id', Type::all())
31 31
     ->edit($note);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Forms/Builders/RepositoryForm.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function edit(Repository $repository)
28 28
     {
29 29
         return $this->form
30
-     //   ->options('type_id', Type::all())
30
+        //   ->options('type_id', Type::all())
31 31
         ->edit($repository);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Forms/Builders/FamilyForm.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         return $this->form
24 24
         ->options('husband_id', Person::all())
25 25
         ->options('wife_id', Person::all())
26
-   //     ->options('type_id', Type::all())
26
+    //     ->options('type_id', Type::all())
27 27
         ->options('child_id', Person::all())
28 28
         ->create();
29 29
     }
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
         ->options('husband_id', Person::all())
35 35
         ->options('wife_id', Person::all())
36 36
         ->append('family_id', $family->id)
37
-         ->value('child_id', $family->children)
38
-         ->options('child_id', Person::all())
37
+            ->value('child_id', $family->children)
38
+            ->options('child_id', Person::all())
39 39
         ->edit($family);
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
app/Forms/Builders/SourceForm.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     public function create()
24 24
     {
25 25
         return $this->form
26
-  //  ->options('type_id', Type::all())
26
+    //  ->options('type_id', Type::all())
27 27
     ->options('author_id', Author::all())
28 28
     ->options('publication_id', Publication::all())
29 29
     ->options('repository_id', Repository::all())
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     public function edit(Source $source)
34 34
     {
35 35
         return $this->form
36
-  //  ->options('type_id', Type::all())
36
+    //  ->options('type_id', Type::all())
37 37
     ->options('author_id', Author::all())
38 38
     ->options('publication_id', Publication::all())
39 39
     ->options('repository_id', Repository::all())
Please login to merge, or discard this patch.
app/Tenant/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 
149 149
     public function storage(): Filesystem
150 150
     {
151
-        if (! $this->hasStoragePartition()) {
151
+        if (!$this->hasStoragePartition()) {
152 152
             $this->makeStoragePartition();
153 153
         }
154 154
 
Please login to merge, or discard this patch.