Completed
Push — master ( bcfea0...2369b9 )
by Nils
02:17
created
src/Rules/Http/Header/GZipRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 && strpos($response->getContentType(), 'pdf') === false
27 27
                 && strpos($response->getContentType(), 'postscript') === false
28 28
                 && strpos($response->getContentType(), 'zip') === false
29
-                && strlen((string)$response->getBody()) >= $this->minFileSize
29
+                && strlen((string) $response->getBody()) >= $this->minFileSize
30 30
             ) {
31 31
                 if (!$response->hasHeader('Content-Encoding') || $response->getHeader('Content-Encoding')[0] !== 'gzip') {
32 32
                     throw new ValidationFailedException('gzip compression not active');
Please login to merge, or discard this patch.
src/Rules/Html/BrokenLinkRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
 
50 50
             if (count($errorList) > 0) {
51 51
                 $count = count($errorList);
52
-                $msg = 'Found ' . $count . ' broken link(s). <ul>';
52
+                $msg = 'Found '.$count.' broken link(s). <ul>';
53 53
                 foreach ($errorList as $error) {
54
-                    $msg .= '<li>' . $error['name'] . ' (http status: ' . $error['http_status'] . ')</li>';
54
+                    $msg .= '<li>'.$error['name'].' (http status: '.$error['http_status'].')</li>';
55 55
                 }
56 56
                 $msg .= '</ul>';
57 57
                 return new CheckResult(CheckResult::STATUS_FAILURE, $msg, $count);
Please login to merge, or discard this patch.