Completed
Push — master ( 1e0ab2...3b1d1f )
by Nils
02:06
created
src/Rules/Html/ClosingHtmlTagRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         if (($response->getStatus() < 300 || $response->getStatus() >= 400) && $response->getContentType() === 'text/html') {
17 17
             if (stripos($response->getBody(), '</html>') === false) {
18
-                throw new ValidationFailedException('Closing html tag is missing (document lengh: ' . strlen($response->getBody()) . ').');
18
+                throw new ValidationFailedException('Closing html tag is missing (document lengh: '.strlen($response->getBody()).').');
19 19
             }
20 20
         }
21 21
     }
Please login to merge, or discard this patch.
src/Rules/Seo/GoogleMobileFriendlyRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     private function getEndpoint(Uri $uri)
15 15
     {
16 16
         // return str_replace('#url#', urlencode('http://www.phpgangsta.de'), self::ENDPOINT);
17
-        return str_replace('#url#', urlencode((string)$uri), self::ENDPOINT);
17
+        return str_replace('#url#', urlencode((string) $uri), self::ENDPOINT);
18 18
     }
19 19
 
20 20
     public function validate(Response $response)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $passResult = $result->ruleGroups->USABILITY;
28 28
 
29 29
         if (!$passResult->pass) {
30
-            throw new ValidationFailedException('Google mobile friendly test was not passed. Score ' . $passResult->score . '/100.');
30
+            throw new ValidationFailedException('Google mobile friendly test was not passed. Score '.$passResult->score.'/100.');
31 31
         }
32 32
     }
33 33
 }
34 34
\ No newline at end of file
Please login to merge, or discard this patch.