Passed
Push — master ( b42680...426658 )
by Marc
02:40
created
src/Context/SitemapContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 class SitemapContext extends BaseContext
15 15
 {
16
-    const SITEMAP_SCHEMA_FILE = __DIR__.'/../Resources/schemas/sitemap.xsd';
17
-    const SITEMAP_XHTML_SCHEMA_FILE = __DIR__.'/../Resources/schemas/sitemap_xhtml.xsd';
18
-    const SITEMAP_INDEX_SCHEMA_FILE = __DIR__.'/../Resources/schemas/sitemap_index.xsd';
16
+    const SITEMAP_SCHEMA_FILE = __DIR__ . '/../Resources/schemas/sitemap.xsd';
17
+    const SITEMAP_XHTML_SCHEMA_FILE = __DIR__ . '/../Resources/schemas/sitemap_xhtml.xsd';
18
+    const SITEMAP_INDEX_SCHEMA_FILE = __DIR__ . '/../Resources/schemas/sitemap_index.xsd';
19 19
 
20 20
     /**
21 21
      * @var DOMDocument
Please login to merge, or discard this patch.
src/Context/PerformanceContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,13 +54,13 @@
 block discarded – undo
54 54
         if ('external' === $host) {
55 55
             $xpath = preg_replace(
56 56
                 '/\[contains\(@(.*),/',
57
-                '[not(starts-with(@$1,"'.$this->webUrl.'") or starts-with(@$1,"/")) and contains(@$1,',
57
+                '[not(starts-with(@$1,"' . $this->webUrl . '") or starts-with(@$1,"/")) and contains(@$1,',
58 58
                 $xpath
59 59
             );
60 60
         } elseif (null !== $host) {
61 61
             $xpath = preg_replace(
62 62
                 '/\[contains\(@(.*),/',
63
-                '[(starts-with(@$1,"'.$host.'") or starts-with(@$1,"/")) and contains(@$1,',
63
+                '[(starts-with(@$1,"' . $host . '") or starts-with(@$1,"/")) and contains(@$1,',
64 64
                 $xpath
65 65
             );
66 66
         }
Please login to merge, or discard this patch.