Completed
Pull Request — master (#60)
by
unknown
03:16
created
src/Checks/CacheHeadersCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $goodTypes = [ValidationResult::TYPE_GOOD, ValidationResult::TYPE_INFO];
124 124
         $good = array_filter(
125 125
             $this->result->getMessages(),
126
-            function ($val, $key) use ($goodTypes) {
126
+            function($val, $key) use ($goodTypes) {
127 127
                 if (in_array($val['messageType'], $goodTypes)) {
128 128
                     return true;
129 129
                 }
@@ -132,14 +132,14 @@  discard block
 block discarded – undo
132 132
             ARRAY_FILTER_USE_BOTH
133 133
         );
134 134
         if (!empty($good)) {
135
-            $ret .= "GOOD: " . implode('; ', array_column($good, 'message')) . " ";
135
+            $ret .= "GOOD: ".implode('; ', array_column($good, 'message'))." ";
136 136
         }
137 137
 
138 138
         // Filter bad messages
139 139
         $badTypes = [ValidationResult::TYPE_ERROR, ValidationResult::TYPE_WARNING];
140 140
         $bad = array_filter(
141 141
             $this->result->getMessages(),
142
-            function ($val, $key) use ($badTypes) {
142
+            function($val, $key) use ($badTypes) {
143 143
                 if (in_array($val['messageType'], $badTypes)) {
144 144
                     return true;
145 145
                 }
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             ARRAY_FILTER_USE_BOTH
149 149
         );
150 150
         if (!empty($bad)) {
151
-            $ret .= "BAD: " . implode('; ', array_column($bad, 'message'));
151
+            $ret .= "BAD: ".implode('; ', array_column($bad, 'message'));
152 152
         }
153 153
         return $ret;
154 154
     }
Please login to merge, or discard this patch.
src/Checks/SessionCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         if ($cookie) {
57 57
             return [
58 58
                 EnvironmentCheck::ERROR,
59
-                "Sessions are being set for {$fullURL} : Set-Cookie => " . $cookie,
59
+                "Sessions are being set for {$fullURL} : Set-Cookie => ".$cookie,
60 60
             ];
61 61
         }
62 62
         return [
Please login to merge, or discard this patch.