Completed
Push — master ( ef1f9a...fdc95c )
by
unknown
02:05
created
src/Rules/Html/ClosingHtmlTagRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     {
17 17
         if ($response instanceof ContentTypeAwareResponse) {
18 18
             if (($response->getStatusCode() < 300 || $response->getStatusCode() >= 400) && $response->getContentType() === 'text/html') {
19
-                if (stripos((string)$response->getBody(), '</html>') === false) {
20
-                    throw new ValidationFailedException('Closing html tag is missing (document length: ' . strlen((string)$response->getBody()) . ').');
19
+                if (stripos((string) $response->getBody(), '</html>') === false) {
20
+                    throw new ValidationFailedException('Closing html tag is missing (document length: '.strlen((string) $response->getBody()).').');
21 21
                 }
22 22
             }
23 23
         }
Please login to merge, or discard this patch.
src/Extensions/SmokeMemory/MemoryExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         foreach ($results as $result) {
36 36
             /** @var UriAwareResponse $response */
37 37
             if ($result->getStatus() == CheckResult::STATUS_FAILURE) {
38
-                $this->memory[] = (string)$response->getUri();
38
+                $this->memory[] = (string) $response->getUri();
39 39
             }
40 40
         }
41 41
     }
Please login to merge, or discard this patch.