Test Setup Failed
Push — master ( 860cfe...01dec1 )
by Lydia
02:35
created
config/di/coordinates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             // Callback executed when service is activated
15 15
             // Create the service, load its configuration (if any)
16 16
             // and set it up.
17
-            "callback" => function () {
17
+            "callback" => function() {
18 18
                 $cfg = $this->get("configuration");
19 19
                 $config = $cfg->load("api.php");
20 20
                 $res = new \Anax\Model\Coordinates($config["config"]["opencage"]["key"]);
Please login to merge, or discard this patch.
config/di/ip.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             // Callback executed when service is activated
15 15
             // Create the service, load its configuration (if any)
16 16
             // and set it up.
17
-            "callback" => function () {
17
+            "callback" => function() {
18 18
                 $cfg = $this->get("configuration");
19 19
                 $config = $cfg->load("api.php");
20 20
                 $res = new \Anax\Model\IpValidator($config["config"]["ipstack"]["key"]);
Please login to merge, or discard this patch.
config/di/weather.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             // Callback executed when service is activated
15 15
             // Create the service, load its configuration (if any)
16 16
             // and set it up.
17
-            "callback" => function () {
17
+            "callback" => function() {
18 18
                 $cfg = $this->get("configuration");
19 19
                 $config = $cfg->load("api.php");
20 20
                 $res = new \Anax\Model\GeoTag($config["config"]["darksky"]["key"]);
Please login to merge, or discard this patch.
src/Model/GeoTag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         }
46 46
 
47 47
         for ($i = 0; $i < count($dates); $i++) {
48
-            $details =      json_decode(file_get_contents("https://api.darksky.net/forecast/{$this->config}/{$lat},{$long},{$dates[$i]}?lang=sv&units=si"));
48
+            $details = json_decode(file_get_contents("https://api.darksky.net/forecast/{$this->config}/{$lat},{$long},{$dates[$i]}?lang=sv&units=si"));
49 49
 
50 50
             $time[] = $details->currently->time;
51 51
             $weather[] = $details->currently->summary;
Please login to merge, or discard this patch.
src/Controller/GeoController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         if (filter_var($search, FILTER_VALIDATE_IP)) {
41 41
             $valid = "IP";
42 42
             $ipverify = $this->di->get("ipverify");
43
-            $validator = new \Anax\Model\IpValidator((array)$ipverify);
43
+            $validator = new \Anax\Model\IpValidator((array) $ipverify);
44 44
             $res = $validator->getIp($search);
45 45
 
46 46
             $lat = $res["lat"];
Please login to merge, or discard this patch.