Passed
Push — v1 ( fc94f4...7c72e4 )
by Andrew
24:07 queued 15s
created
src/services/Convert.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,12 +44,12 @@  discard block
 block discarded – undo
44 44
         // Normalize the line breaks
45 45
         $text = str_replace(["\n", "\r\r\n"], self::RFC2455_EOL, $text);
46 46
         // Handle rich text field output, such as from Redactor, which may have line or paragraph breaks
47
-        $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE . self::RFC2455_LITERAL_NEWLINE, $text);
47
+        $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE.self::RFC2455_LITERAL_NEWLINE, $text);
48 48
         $text = str_replace(["<br>\r", "<BR>\r", "<br />\r", "<BR />\r"], self::RFC2455_LITERAL_NEWLINE, $text);
49 49
         // Split the text into separate lines
50 50
         $lines = explode(self::RFC2455_EOL, $text);
51 51
         foreach ($lines as $key => $line) {
52
-            $result .= $this->icalSplit('', $line) . self::RFC2455_EOL;
52
+            $result .= $this->icalSplit('', $line).self::RFC2455_EOL;
53 53
         }
54 54
 
55 55
         return $result;
@@ -97,6 +97,6 @@  discard block
 block discarded – undo
97 97
             $lines[] = $value;
98 98
         }
99 99
 
100
-        return implode(self::RFC2455_EOL . self::RFC2455_TAB, $lines);
100
+        return implode(self::RFC2455_EOL.self::RFC2455_TAB, $lines);
101 101
     }
102 102
 }
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 return static function(ECSConfig $ecsConfig): void {
7 7
     $ecsConfig->paths([
8
-        __DIR__ . '/src',
8
+        __DIR__.'/src',
9 9
         __FILE__,
10 10
     ]);
11 11
     $ecsConfig->parallel();
Please login to merge, or discard this patch.