Passed
Push — master ( 3d72ea...5b8c59 )
by Andreas
23:46
created
src/midcom/datamanager/validation/phpValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         // enable them everywhere with -e and mask them instead
33 33
         $input = str_replace(
34 34
             ['\a', '\b', '\c', '\e', '\f', '\n', '\r', '\t', '\v'],
35
-            [ '\\\a', '\\\b', '\\\c', '\\\e', '\\\f', '\\\n', '\\\r', '\\\t', '\\\v'],
35
+            ['\\\a', '\\\b', '\\\c', '\\\e', '\\\f', '\\\n', '\\\r', '\\\t', '\\\v'],
36 36
             $input
37 37
         );
38 38
         exec(sprintf('echo -e %s | php -l', escapeshellarg($input)) . " 2>&1", $parse_results, $return_status);
Please login to merge, or discard this patch.
lib/midcom/helper/toolbar/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             ]);
75 75
         }
76 76
 
77
-        if (   midcom::get()->config->get('midcom_services_rcs_enable')
77
+        if (midcom::get()->config->get('midcom_services_rcs_enable')
78 78
             && $object->can_do('midgard:update')
79 79
             && $object->_use_rcs) {
80 80
             $buttons[] = [
Please login to merge, or discard this patch.