Passed
Push — master ( cf00ea...cda971 )
by Andreas
09:47
created
src/midcom/console/command/cleanup/privileges.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@
 block discarded – undo
59 59
                 try {
60 60
                     \midgard_object_class::get_object_by_guid($priv->objectguid);
61 61
                     $seen_parents[$priv->objectguid] = true;
62
-                } catch (\Exception) {
62
+                }
63
+                catch (\Exception) {
63 64
                     $seen_parents[$priv->objectguid] = false;
64 65
                 }
65 66
             }
Please login to merge, or discard this patch.
src/midcom/console/command/cleanup/parameters.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,8 @@
 block discarded – undo
49 49
                 try {
50 50
                     \midgard_object_class::get_object_by_guid($param->parentguid);
51 51
                     $seen[$param->parentguid] = true;
52
-                } catch (\Exception) {
52
+                }
53
+                catch (\Exception) {
53 54
                     $seen[$param->parentguid] = false;
54 55
                 }
55 56
             }
Please login to merge, or discard this patch.
src/midcom/console/command/exec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,8 @@
 block discarded – undo
94 94
 
95 95
         try {
96 96
             require $basedir . $file;
97
-        } catch (\midcom_error_forbidden) {
97
+        }
98
+        catch (\midcom_error_forbidden) {
98 99
             $dialog = $this->getHelperSet()->get('question');
99 100
             $this->login($dialog, $input, $output);
100 101
             require $basedir . $file;
Please login to merge, or discard this patch.