Passed
Push — develop ( 31a2e6...10a6cf )
by Andrew
03:59
created
src/services/Convert.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $text = str_replace(["<br>\r", "<BR>\r", "<br />\r", "<BR />\r"], self::RFC2455_LITERAL_NEWLINE, $text);
50 50
         // Split the text into separate lines
51 51
         $lines = explode(self::RFC2455_EOL, $text);
52
-       foreach ($lines as $key => $line) {
52
+        foreach ($lines as $key => $line) {
53 53
             $result .= $this->icalSplit('', $line) . self::RFC2455_EOL;
54 54
         }
55 55
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $result = '';
46 46
         // Normalize the line breaks
47 47
         $text = str_replace(["\n", "\r\r\n"], self::RFC2455_EOL, $text);
48
-        $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE.self::RFC2455_LITERAL_NEWLINE, $text);
48
+        $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE . self::RFC2455_LITERAL_NEWLINE, $text);
49 49
         $text = str_replace(["<br>\r", "<BR>\r", "<br />\r", "<BR />\r"], self::RFC2455_LITERAL_NEWLINE, $text);
50 50
         // Split the text into separate lines
51 51
         $lines = explode(self::RFC2455_EOL, $text);
@@ -98,6 +98,6 @@  discard block
 block discarded – undo
98 98
             $lines[] = $value;
99 99
         }
100 100
 
101
-        return implode(self::RFC2455_EOL.self::RFC2455_TAB, $lines);
101
+        return implode(self::RFC2455_EOL . self::RFC2455_TAB, $lines);
102 102
     }
103 103
 }
Please login to merge, or discard this patch.