Test Failed
Push — main ( b5089d...dd8d40 )
by Nils
01:47
created
view/nihl/weatherreport/result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,4 +13,4 @@
 block discarded – undo
13 13
 <?php if ($message) : ?>
14 14
 <h4>Error:</h4>
15 15
 <p> <?= $message ?></p>
16
-<?php endif;?>
16
+<?php endif; ?>
Please login to merge, or discard this patch.
config/di/ipvalidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             // Callback executed when service is activated
18 18
             // Create the service, load its configuration (if any)
19 19
             // and set it up.
20
-            "callback" => function () {
20
+            "callback" => function() {
21 21
                 $ipvalidator = new \Nihl\IPValidator\IPValidator();
22 22
 
23 23
                 return $ipvalidator;
Please login to merge, or discard this patch.
config/di/weatherreport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             // Callback executed when service is activated
18 18
             // Create the service, load its configuration (if any)
19 19
             // and set it up.
20
-            "callback" => function () {
20
+            "callback" => function() {
21 21
                 $weatherreport = new \Nihl\WeatherReport\WeatherReport();
22 22
                 $weatherreport->setDi($this);
23 23
 
Please login to merge, or discard this patch.
config/di/curl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             // Callback executed when service is activated
18 18
             // Create the service, load its configuration (if any)
19 19
             // and set it up.
20
-            "callback" => function () {
20
+            "callback" => function() {
21 21
                 $curl = new \Nihl\RemoteService\Curl();
22 22
 
23 23
                 return $curl;
Please login to merge, or discard this patch.
config/di/geotag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             // Callback executed when service is activated
18 18
             // Create the service, load its configuration (if any)
19 19
             // and set it up.
20
-            "callback" => function () {
20
+            "callback" => function() {
21 21
                 $geotag = new \Nihl\RemoteService\Geotag();
22 22
                 $geotag->setDi($this);
23 23
 
Please login to merge, or discard this patch.
src/WeatherReport/WeatherReportController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             ]);
101 101
             $this->page->add("nihl/weatherreport/ipform", ["ip" => $ip]);
102 102
 
103
-            return $this->page->render([ "title" => $title ]);
103
+            return $this->page->render(["title" => $title]);
104 104
         }
105 105
 
106 106
         $this->page->add("nihl/weatherreport/current", $data);
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             ]);
149 149
             $this->page->add("nihl/weatherreport/geoform", []);
150 150
 
151
-            return $this->page->render([ "title" => $title ]);
151
+            return $this->page->render(["title" => $title]);
152 152
         }
153 153
 
154 154
         $this->page->add("nihl/weatherreport/current", $data);
Please login to merge, or discard this patch.