Completed
Push — health-check ( 3281b4...ded797 )
by
unknown
49s
created
src/SWP/Bundle/MultiTenancyBundle/Context/TenantContext.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,9 @@
 block discarded – undo
62 62
    * {@inheritdoc}
63 63
    */
64 64
   public function getTenant() {
65
-    if ($this->tenant !== null)
66
-      return $this->tenant;
65
+    if ($this->tenant !== null) {
66
+          return $this->tenant;
67
+    }
67 68
 
68 69
     $currentRequest = $this->requestStack->getCurrentRequest();
69 70
     if (null !== $currentRequest && false !== strpos($currentRequest->getRequestUri(), '_profiler')) {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Service/HealthCheck/Checker/SupervisorChecker.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,9 @@
 block discarded – undo
183 183
         $lines = explode("\n", trim($output));
184 184
         
185 185
         foreach ($lines as $line) {
186
-            if (trim($line) === '') continue;
186
+            if (trim($line) === '') {
187
+                continue;
188
+            }
187 189
             
188 190
             // Parse supervisorctl status output format: "process_name STATUS description"
189 191
             if (preg_match('/^(\S+)\s+(\S+)\s+(.*)$/', trim($line), $matches)) {
Please login to merge, or discard this patch.