Completed
Push — master ( d7e941...2e97bd )
by Matt
06:23
created
src/Service/UploaderHelper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
                 $this->gpxDirectory,
41 41
                 $newFilename
42 42
             );
43
-        }
44
-        catch (FileException $e) {
43
+        } catch (FileException $e) {
45 44
             throw new HttpException(500, "Failed finishing GPX upload: " . $e->getMessage());
46 45
         }
47 46
         return $newFilename;
Please login to merge, or discard this patch.
src/DataFixtures/WanderFixtures.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $fs = new Filesystem();
37 37
         $finder = new Finder();
38
-        foreach($finder->in(__DIR__ . '/gpx')->name('/\.gpx$/i') as $source) {
38
+        foreach ($finder->in(__DIR__ . '/gpx')->name('/\.gpx$/i') as $source) {
39 39
             $targetPath = sys_get_temp_dir() . '/' . $source->getFilename();
40 40
             $fs->copy($source->getPathname(), $targetPath);
41 41
             $uploadedFile = $this->uploaderHelper->uploadGpxFile(new File($targetPath));
Please login to merge, or discard this patch.