Completed
Push — master ( 30fad7...9bd1be )
by
unknown
27s queued 14s
created
src/Jobs/RemoveOldCSPViolationsJob.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
                 $report->delete();
57 57
                 $delta++;
58 58
             }
59
-        }
60
-        finally {
59
+        } finally {
61 60
             DB::get_conn()->transactionEnd();
62 61
         }
63 62
 
Please login to merge, or discard this patch.
src/Jobs/RemoveUnreferencedCSPDocumentJob.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
                 }
50 50
                 ++$delta;
51 51
             }
52
-        }
53
-        finally {
52
+        } finally {
54 53
             DB::get_conn()->transactionEnd();
55 54
         }
56 55
 
Please login to merge, or discard this patch.
src/Tasks/RemoveOldCSPViolationsTask.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
         if (count($duration_parts) > 1) {
60 60
             $last = array_pop($duration_parts);
61 61
             $duration_string = implode(', ', $duration_parts) . ' and ' . $last;
62
-        }
63
-        else {
62
+        } else {
64 63
             $duration_string = reset($duration_parts);
65 64
         }
66 65
 
Please login to merge, or discard this patch.
src/Middleware/SecurityHeaderMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,8 +228,7 @@
 block discarded – undo
228 228
                 } else {
229 229
                     $cspHeader = rtrim($cspHeader, ';') . "; {$this->getReportURIDirective()};";
230 230
                 }
231
-            }
232
-            else {
231
+            } else {
233 232
                 $cspHeader = $this->getReportURIDirective() . ';';
234 233
             }
235 234
             // Add report-to directive.
Please login to merge, or discard this patch.