Completed
Pull Request — master (#1)
by
unknown
02:20
created
src/XRobotsTagParser/URLParser.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * URL parser
4
- *
5
- * @author Jan-Petter Gundersen ([email protected])
6
- */
3
+     * URL parser
4
+     *
5
+     * @author Jan-Petter Gundersen ([email protected])
6
+     */
7 7
 
8 8
 namespace vipnytt\XRobotsTagParser;
9 9
 
Please login to merge, or discard this patch.
src/XRobotsTagParser/UserAgentParser.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User-Agent parser
4
- *
5
- * @author Jan-Petter Gundersen ([email protected])
6
- */
3
+     * User-Agent parser
4
+     *
5
+     * @author Jan-Petter Gundersen ([email protected])
6
+     */
7 7
 
8 8
 namespace vipnytt\XRobotsTagParser;
9 9
 
Please login to merge, or discard this patch.
src/XRobotsTagParser/directives/unavailable_after.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,9 @@
 block discarded – undo
36 36
     {
37 37
         foreach (array_unique($this->supportedDateFormats) as $format) {
38 38
             $dateTime = date_create_from_format($format, $this->value);
39
-            if ($dateTime === false) continue;
39
+            if ($dateTime === false) {
40
+                continue;
41
+            }
40 42
             $result[self::DIRECTIVE] = $dateTime->format(DATE_RFC850);
41 43
             if (time() >= $dateTime->getTimestamp()) {
42 44
                 $noindex = new noindex();
Please login to merge, or discard this patch.