Passed
Branch 1 (cae339)
by Guy
06:24
created
Category
code/Forms/GridField/GridFieldDeleteRelationsButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -559,7 +559,7 @@
 block discarded – undo
559 559
         }
560 560
         $data = urldecode($data);
561 561
 
562
-        $data = preg_replace_callback('/(?:^|(?<=&))[^=[]+/', function ($match) {
562
+        $data = preg_replace_callback('/(?:^|(?<=&))[^=[]+/', function($match) {
563 563
             return bin2hex(urldecode($match[0]));
564 564
         }, $data);
565 565
 
Please login to merge, or discard this patch.
code/Middleware/SecurityHeaderRequestFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
             'max_age' => 1800,
156 156
             'endpoints' => [[
157 157
                 'url' => $this->getReportURI(),
158
-            ],],
158
+            ], ],
159 159
             'include_subdomains' => $this->getIncludeSubdomains(),
160 160
         ];
161 161
         return json_encode($header);
Please login to merge, or discard this patch.
code/Controllers/CSPViolationsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
                         // Firefox doesn't report the disposition.
144 144
                         return 'unknown';
145 145
                     }
146
-                    return ;
146
+                    return;
147 147
                 case self::BLOCKED_URI:
148 148
                     return $cspReport['blocked-uri'];
149 149
                 case self::EFFECTIVE_DIRECTIVE:
Please login to merge, or discard this patch.