Passed
Push — develop ( 2af5a4...c3260d )
by Greg
11:35
created
app/Http/Middleware/HandleExceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             if (error_get_last() !== null && error_get_last()['type'] & E_ERROR) {
83 83
                 // If PHP does not display the error, then we must display it.
84 84
                 if (ini_get('display_errors') !== '1') {
85
-                    echo error_get_last()['message'], '<br><br>', error_get_last()['file'] , ': ', error_get_last()['line'];
85
+                    echo error_get_last()['message'], '<br><br>', error_get_last()['file'], ': ', error_get_last()['line'];
86 86
                 }
87 87
             }
88 88
         });
Please login to merge, or discard this patch.
app/Http/RequestHandlers/ReportSetupPage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
                     break;
136 136
 
137 137
                 case 'DATE':
138
-                    $attributes       += [
138
+                    $attributes += [
139 139
                         'type'  => 'text',
140 140
                         'value' => $input['default'],
141 141
                         'dir'   => 'ltr',
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 default:
149 149
                     switch ($input['type']) {
150 150
                         case 'text':
151
-                            $attributes       += [
151
+                            $attributes += [
152 152
                                 'type'  => 'text',
153 153
                                 'value' => $input['default'],
154 154
                             ];
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                             break;
157 157
 
158 158
                         case 'checkbox':
159
-                            $attributes       += [
159
+                            $attributes += [
160 160
                                 'type'    => 'checkbox',
161 161
                                 'checked' => (bool) $input['default'],
162 162
                             ];
Please login to merge, or discard this patch.
app/Contracts/SubmissionFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
      *
60 60
      * @return Submission
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission;
63 63
 
64 64
 }
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Header
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/GedcomRecordFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @return GedcomRecord
52 52
      */
53
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): GedcomRecord;
53
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : GedcomRecord;
54 54
 
55 55
     /**
56 56
      * Create a GedcomRecord object from a row in the database.
Please login to merge, or discard this patch.
app/Factories/SubmitterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class SubmitterFactory extends AbstractGedcomRecordFactory implements SubmitterFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submitter::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submitter::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create a submitter.
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Submitter
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submitter
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submitter
93 93
     {
94 94
         return new Submitter($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/HeaderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class HeaderFactory extends AbstractGedcomRecordFactory implements HeaderFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 ' . Header::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 ' . Header::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create a header.
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Header
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header
93 93
     {
94 94
         return new Header($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/SubmissionFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class SubmissionFactory extends AbstractGedcomRecordFactory implements SubmissionFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submission::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submission::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create a submission.
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Submission
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission
93 93
     {
94 94
         return new Submission($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/IndividualFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class IndividualFactory extends AbstractGedcomRecordFactory implements IndividualFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Individual::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Individual::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create an individual.
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return Individual
90 90
      */
91
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Individual
91
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Individual
92 92
     {
93 93
         return new Individual($xref, $gedcom, $pending, $tree);
94 94
     }
Please login to merge, or discard this patch.