Completed
Push — master ( c78d5c...5cf6af )
by Nils
02:40
created
src/Rules/Xml/Sitemap/ValidRule.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@  discard block
 block discarded – undo
29 29
     private function getSchema($isIndex)
30 30
     {
31 31
         if ($isIndex) {
32
-            return __DIR__ . '/' . self::INDEX;
32
+            return __DIR__.'/'.self::INDEX;
33 33
         }
34 34
 
35 35
         if ($this->strictMode) {
36
-            return __DIR__ . '/' . self::SCHEMA;
36
+            return __DIR__.'/'.self::SCHEMA;
37 37
         } else {
38
-            return __DIR__ . '/' . self::NON_STRICT_SCHEMA;
38
+            return __DIR__.'/'.self::NON_STRICT_SCHEMA;
39 39
         }
40 40
     }
41 41
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         if (!$valid) {
50 50
             $lastError = libxml_get_last_error();
51 51
             throw new ValidationFailedException(
52
-                'The given sitemap file (' . $filename . ') did not validate against the sitemap schema (last error: ' . str_replace("\n", '', $lastError->message) . ').');
52
+                'The given sitemap file ('.$filename.') did not validate against the sitemap schema (last error: '.str_replace("\n", '', $lastError->message).').');
53 53
         }
54 54
     }
55 55
 
Please login to merge, or discard this patch.
src/Rules/Html/CssSelectorExistsRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         if ($error === true) {
47 47
             $allNotFoundSelectors = implode('", "', $snotFoundSelectors);
48 48
 
49
-            throw new ValidationFailedException('CSS Selector "' . $allNotFoundSelectors . '" not found in DOM.');
49
+            throw new ValidationFailedException('CSS Selector "'.$allNotFoundSelectors.'" not found in DOM.');
50 50
         }
51 51
     }
52 52
 }
Please login to merge, or discard this patch.