Completed
Pull Request — master (#14)
by Andreas
02:37
created
src/Renderer/IcalendarRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function render(ResponseInterface $response, array $data = [], $status = 200)
46 46
     {
47 47
         $icalendar = new VCalendar();
48
-        if (! isset($data['cfps'])) {
48
+        if (!isset($data['cfps'])) {
49 49
             $data['cfps'] = [];
50 50
         }
51 51
         foreach ($data['cfps'] as $cfp) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
                 'DTSTAMP' => $lastChange,
67 67
                 'UID'     => $cfp['_rel']['cfp_uri'],
68 68
                 'DESCRIPTION' => $cfp['description'],
69
-                'GEO'     => round($cfp['latitude'], 6) . ';' . round($cfp['longitude'], 6),
69
+                'GEO'     => round($cfp['latitude'], 6).';'.round($cfp['longitude'], 6),
70 70
                 'LOCATION' => $cfp['location'],
71 71
 
72 72
             ]);
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,22 +27,22 @@
 block discarded – undo
27 27
  * @since     15.01.2016
28 28
  * @link      http://github.com/heiglandreas/callingallpapers
29 29
  */
30
-require_once realpath(__DIR__ . '/../vendor/autoload.php');
30
+require_once realpath(__DIR__.'/../vendor/autoload.php');
31 31
 
32 32
 session_start();
33 33
 
34 34
 // Instantiate the app
35
-$settings = require __DIR__ . '/../config/settings.php';
35
+$settings = require __DIR__.'/../config/settings.php';
36 36
 $app = new \Slim\App($settings);
37 37
 
38 38
 // Set up dependencies
39
-require __DIR__ . '/../config/dependencies.php';
39
+require __DIR__.'/../config/dependencies.php';
40 40
 
41 41
 // Register middleware
42
-require __DIR__ . '/../config/middleware.php';
42
+require __DIR__.'/../config/middleware.php';
43 43
 
44 44
 // Register routes
45
-require __DIR__ . '/../config/routes.php';
45
+require __DIR__.'/../config/routes.php';
46 46
 
47 47
 // Run app
48 48
 $app->run();
Please login to merge, or discard this patch.