Test Setup Failed
Branch master (516b9e)
by Kristoffer
08:15
created
Category
config/di/darksky.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "darksky" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \Linder\Model\DarkSky($config["config"]["darksky"]);
Please login to merge, or discard this patch.
config/di/ipverifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "ipverifier" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \Linder\Model\IpVerifier($config["config"]["ipstack"]);
Please login to merge, or discard this patch.
config/di/geocoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "geocoder" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \OpenCage\Geocoder\Geocoder($config["config"]["opencage"]);
Please login to merge, or discard this patch.
src/Controller/APIMockController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
         $darksky = new \Linder\Mock\DarkSkyMock();
28 28
         $url = $this->di->request->getCurrentUrl();
29 29
         $res = (strpos($url, "?exclude=currently,flags") || $this->di->request->getGet("type") == "past") ?
30
-            $darksky->getWeatherPast("") :
31
-            $darksky->getWeatherComing("");
30
+            $darksky->getWeatherPast("") : $darksky->getWeatherComing("");
32 31
         return $res;
33 32
     }
34 33
 }
Please login to merge, or discard this patch.