Passed
Pull Request — master (#129)
by
unknown
03:02
created
src/Header/MimeEncodedHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     protected function setParseHeaderValue(AbstractConsumer $consumer)
55 55
     {
56 56
         $value = $this->rawValue;
57
-        $matchp = '~^(\s*' . MimeLiteralPart::MIME_PART_PATTERN . '\s*)+$~';
57
+        $matchp = '~^(\s*'.MimeLiteralPart::MIME_PART_PATTERN.'\s*)+$~';
58 58
         if (preg_match($matchp, $value)) {
59 59
             $p = $this->mimeLiteralPartFactory->newInstance($value);
60 60
             $value = $p->getValue();
Please login to merge, or discard this patch.
src/Header/Part/DatePart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         // TODO: Test is missing:
59 59
         if (!isset($this->date) && preg_match('#UT$#', $dateToken)) {
60 60
             try {
61
-                $this->date = new DateTime($dateToken . 'C');
61
+                $this->date = new DateTime($dateToken.'C');
62 62
                 // $this->addParsingError('Invalid Date: "C" missing from timezone "UT"'); // https://github.com/zbateson/mail-mime-parser/issues/124
63 63
             } catch (Exception $e) {
64 64
             }
Please login to merge, or discard this patch.