Completed
Push — develop ( 25fab7...c98692 )
by Greg
23:20 queued 15:36
created
app/Elements/NamePhoneticVariation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
  */
30 30
 class NamePhoneticVariation extends AbstractElement
31 31
 {
32
-    protected const SUBTAGS = ['NPFX', 'GIVN', 'SPFX','SURN', 'NSFX', 'NICK', 'TYPE'];
32
+    protected const SUBTAGS = ['NPFX', 'GIVN', 'SPFX', 'SURN', 'NSFX', 'NICK', 'TYPE'];
33 33
 
34 34
     protected const MAXIMUM_LENGTH = 120;
35 35
 }
Please login to merge, or discard this patch.
app/Module/TimelineChartModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 {
47 47
     use ModuleChartTrait;
48 48
 
49
-    protected const ROUTE_URL  = '/tree/{tree}/timeline-{scale}';
49
+    protected const ROUTE_URL = '/tree/{tree}/timeline-{scale}';
50 50
 
51 51
     // Defaults
52 52
     protected const DEFAULT_SCALE      = 10;
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
         $params = (array) $request->getParsedBody();
155 155
 
156
-        $add  = $params['add'] ?? '';
156
+        $add = $params['add'] ?? '';
157 157
 
158 158
         Auth::checkComponentAccess($this, ModuleChartInterface::class, $tree, $user);
159 159
 
Please login to merge, or discard this patch.
app/Http/RequestHandlers/ImportThumbnailsData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
         // The original filename was generated from the thumbnail filename.
195 195
         // It may not actually exist.
196 196
         try {
197
-            $file_exists =  $data_filesystem->fileExists($original);
197
+            $file_exists = $data_filesystem->fileExists($original);
198 198
         } catch (FilesystemException | UnableToRetrieveMetadata $ex) {
199 199
             $file_exists = false;
200 200
         }
Please login to merge, or discard this patch.
app/Http/RequestHandlers/ManageMediaData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
                     $create_form = '';
234 234
                     foreach ($media_trees as $media_tree => $media_directory) {
235 235
                         if (str_starts_with($row[0], $media_directory)) {
236
-                            $tmp         = substr($row[0], strlen($media_directory));
236
+                            $tmp = substr($row[0], strlen($media_directory));
237 237
                             $create_form .=
238 238
                                 '<p><a href="#" data-toggle="modal" data-backdrop="static" data-target="#modal-create-media-from-file" data-file="' . e($tmp) . '" data-url="' . e(route(CreateMediaObjectFromFile::class, ['tree' => $media_tree])) . '" onclick="document.getElementById(\'modal-create-media-from-file-form\').action=this.dataset.url; document.getElementById(\'file\').value=this.dataset.file;">' . I18N::translate('Create') . '</a> — ' . e($media_tree) . '<p>';
239 239
                         }
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
                 // This will work for local filesystems.  For remote filesystems, we will
339 339
                 // need to copy the file locally to work out the image size.
340 340
                 $imgsize = getimagesizefromstring($data_filesystem->read($file));
341
-                $html    .= '<dt>' . I18N::translate('Image dimensions') . '</dt>';
341
+                $html .= '<dt>' . I18N::translate('Image dimensions') . '</dt>';
342 342
                 /* I18N: image dimensions, width × height */
343 343
                 $html .= '<dd>' . I18N::translate('%1$s × %2$s pixels', I18N::number($imgsize['0']), I18N::number($imgsize['1'])) . '</dd>';
344 344
             } catch (FilesystemException | UnableToReadFile | Throwable $ex) {
Please login to merge, or discard this patch.