Completed
Push — master ( 5fb7fa...e65dbb )
by Daniel
12s
created
source/InformatorServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $tmpDoctrineCache = null;
36 36
         clearstatcache();
37 37
         if (is_dir($tmpFolder) && is_writable($tmpFolder)) {
38
-            $tmpDoctrineCache = $tmpFolder . DIRECTORY_SEPARATOR . 'DoctrineCache';
38
+            $tmpDoctrineCache = $tmpFolder.DIRECTORY_SEPARATOR.'DoctrineCache';
39 39
         }
40 40
         return $tmpDoctrineCache;
41 41
     }
@@ -83,6 +83,6 @@  discard block
 block discarded – undo
83 83
 
84 84
     protected function getTemporaryFolder()
85 85
     {
86
-        return sys_get_temp_dir() . DIRECTORY_SEPARATOR;
86
+        return sys_get_temp_dir().DIRECTORY_SEPARATOR;
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
source/Informator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 'Version'   => $tmp[1]
74 74
             ];
75 75
         }
76
-        $modulesToDisregard         = [
76
+        $modulesToDisregard = [
77 77
             $srvSoftwareArray[0],
78 78
             '(Win64)',
79 79
         ];
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     {
167 167
         $sReturn           = [];
168 168
         $sReturn['Tomcat'] = '---';
169
-        $url               = 'http://' . $this->informatorInternalArray['superGlobals']->getHttpHost()
169
+        $url               = 'http://'.$this->informatorInternalArray['superGlobals']->getHttpHost()
170 170
                 . ':8080/informator.Tomcat/index.jsp';
171 171
         $urlFeedback       = $this->getContentFromUrlThroughCurlAsArrayIfJson($url);
172 172
         if (is_array($urlFeedback) && isset($urlFeedback['response'])) {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     private function setInterface()
179 179
     {
180
-        $outputArray    = [
180
+        $outputArray = [
181 181
             'showLabels'    => true,
182 182
             'feedback'      => '<span style="background-color:red;color:white;">Label not set...</span>',
183 183
             'arrayToReturn' => [],
@@ -236,16 +236,16 @@  discard block
 block discarded – undo
236 236
             'lang'  => 'en-US',
237 237
             'title' => 'Informator'
238 238
         ]);
239
-        $sReturn[]  = $inArray['feedback'] . '<p style="background-color:green;color:white;">'
239
+        $sReturn[]  = $inArray['feedback'].'<p style="background-color:green;color:white;">'
240 240
                 . 'So you might want to choose one from the list below:</p>'
241 241
                 . '<ul>';
242 242
         $arToReturn = array_keys($this->informatorInternalArray['knownLabels']);
243 243
         foreach ($arToReturn as $value) {
244 244
             $sReturn[] = '<li>'
245
-                    . '<a href="?Label=' . urlencode(((string) $value)) . '" target="_blank">' . $value . '</a>'
245
+                    . '<a href="?Label='.urlencode(((string) $value)).'" target="_blank">'.$value.'</a>'
246 246
                     . '</li>';
247 247
         }
248
-        $sReturn[] = '</ul>' . $this->setFooterCommon();
248
+        $sReturn[] = '</ul>'.$this->setFooterCommon();
249 249
         return implode('', $sReturn);
250 250
     }
251 251
 
Please login to merge, or discard this patch.