Completed
Push — master ( ccb2e2...dd07bc )
by Jan-Petter
07:47
created
src/XRobotsTagParser/directives/unavailable_after.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,9 @@
 block discarded – undo
64 64
         while (mb_strlen($string) > 0) {
65 65
             foreach ($this->supportedDateFormats as $format) {
66 66
                 $dateTime = date_create_from_format($format, $string);
67
-                if ($dateTime === false) continue;
67
+                if ($dateTime === false) {
68
+                    continue;
69
+                }
68 70
                 $result[self::DIRECTIVE] = $dateTime->format(DATE_RFC850);
69 71
                 return $result;
70 72
             }
Please login to merge, or discard this patch.
src/XRobotsTagParser.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * X-Robots-Tag HTTP header parser class
4
- *
5
- * @author VIP nytt ([email protected])
6
- * @author Jan-Petter Gundersen ([email protected])
7
- *
8
- * Project:
9
- * @link https://github.com/VIPnytt/X-Robots-Tag-parser
10
- * @license https://opensource.org/licenses/MIT MIT license
11
- *
12
- * Specification:
13
- * @link https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#using-the-x-robots-tag-http-header
14
- */
3
+     * X-Robots-Tag HTTP header parser class
4
+     *
5
+     * @author VIP nytt ([email protected])
6
+     * @author Jan-Petter Gundersen ([email protected])
7
+     *
8
+     * Project:
9
+     * @link https://github.com/VIPnytt/X-Robots-Tag-parser
10
+     * @license https://opensource.org/licenses/MIT MIT license
11
+     *
12
+     * Specification:
13
+     * @link https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#using-the-x-robots-tag-http-header
14
+     */
15 15
 
16 16
 namespace vipnytt;
17 17
 
Please login to merge, or discard this patch.