Passed
Pull Request — master (#1066)
by Simon
04:26 queued 26s
created
includes/Pages/Request/PageConfirmEmail.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
             RequestData::saveForRequest($request, RequestData::TYPE_CONFIRM_IPV6, $trustedIp);
99 99
         }
100 100
 
101
-        foreach ($this->getSiteConfiguration()->getAcceptClientHints() as $header)
102
-        {
101
+        foreach ($this->getSiteConfiguration()->getAcceptClientHints() as $header) {
103 102
             $value = WebRequest::httpHeader($header);
104 103
 
105 104
             if ($value === null) {
Please login to merge, or discard this patch.
includes/Pages/Request/PageRequestAccount.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,8 @@  discard block
 block discarded – undo
76 76
             $csrfTokenMinimumLifetime = $this->getSiteConfiguration()->getRequestMinimumTokenAge();
77 77
             try {
78 78
                 $this->validateCSRFToken(self::CSRF_TOKEN_CONTEXT, $csrfTokenMinimumLifetime);
79
-            } catch (ApplicationLogicException $e) {
79
+            }
80
+            catch (ApplicationLogicException $e) {
80 81
                 SessionAlert::error('Please try submitting the form again.', 'Oops! Something went wrong');
81 82
                 $this->preserveSessionFormData();
82 83
                 $this->redirect();
@@ -329,8 +330,7 @@  discard block
 block discarded – undo
329 330
         RequestData::saveForRequest(
330 331
             $request, RequestData::TYPE_USERAGENT, WebRequest::userAgent());
331 332
 
332
-        foreach ($this->getSiteConfiguration()->getAcceptClientHints() as $header)
333
-        {
333
+        foreach ($this->getSiteConfiguration()->getAcceptClientHints() as $header) {
334 334
             $value = WebRequest::httpHeader($header);
335 335
 
336 336
             if ($value === null) {
Please login to merge, or discard this patch.