Passed
Push — master ( b864c0...663ed6 )
by Zaahid
14:05
created
src/Header/Part/CommentPart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
         return parent::getValueFromParts(\array_map(
50 50
             function($p) use ($partFactory) {
51 51
                 if ($p instanceof CommentPart) {
52
-                    return $partFactory->newQuotedLiteralPart([$partFactory->newToken('(' . $p->getComment() . ')')]);
52
+                    return $partFactory->newQuotedLiteralPart([$partFactory->newToken('('.$p->getComment().')')]);
53 53
                 } elseif ($p instanceof QuotedLiteralPart) {
54
-                    return $partFactory->newQuotedLiteralPart([$partFactory->newToken('"' . \str_replace('(["\\])', '\$1', $p->getValue()) . '"')]);
54
+                    return $partFactory->newQuotedLiteralPart([$partFactory->newToken('"'.\str_replace('(["\\])', '\$1', $p->getValue()).'"')]);
55 55
                 }
56 56
                 return $p;
57 57
             },
Please login to merge, or discard this patch.
src/Header/Part/ContainerPart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      */
96 96
     protected function getValueFromParts(array $parts) : string
97 97
     {
98
-        return \array_reduce($this->filterIgnoredSpaces($parts), fn ($c, $p) => $c . $p->getValue(), '');
98
+        return \array_reduce($this->filterIgnoredSpaces($parts), fn ($c, $p) => $c.$p->getValue(), '');
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.
src/Header/Part/AddressPart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
                 if ($p instanceof AddressPart) {
31 31
                     return $p->getValue();
32 32
                 } elseif ($p instanceof QuotedLiteralPart && $p->getValue() !== '') {
33
-                    return '"' . \preg_replace('/(["\\\])/', '\\\$1', $p->getValue()) . '"';
33
+                    return '"'.\preg_replace('/(["\\\])/', '\\\$1', $p->getValue()).'"';
34 34
                 }
35 35
                 return \preg_replace('/\s+/', '', $p->getValue());
36 36
             },
Please login to merge, or discard this patch.
src/Header/Consumer/ParameterConsumerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                     if ($p instanceof ParameterPart && $p->getIndex() !== null) {
88 88
                         return [\strtolower($p->getName()) => [$p]];
89 89
                     }
90
-                    return [';' . \spl_object_id($p) . ';' => [$p]];
90
+                    return [';'.\spl_object_id($p).';' => [$p]];
91 91
                 },
92 92
                 $parts
93 93
             ))
Please login to merge, or discard this patch.
src/MailMimeParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @var string the default definition file.
61 61
      */
62
-    private const DEFAULT_DEFINITIONS_FILE = __DIR__ . '/di_config.php';
62
+    private const DEFAULT_DEFINITIONS_FILE = __DIR__.'/di_config.php';
63 63
 
64 64
     /**
65 65
      * @var Container The instance's dependency injection container.
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         self::$globalContainer = null;
112 112
     }
113 113
 
114
-    public static function addGlobalPhpDiContainerDefinition(array|string|DefinitionSource $phpDiConfig) : void
114
+    public static function addGlobalPhpDiContainerDefinition(array | string | DefinitionSource $phpDiConfig) : void
115 115
     {
116 116
         self::$globalDefinitions[] = $phpDiConfig;
117 117
         self::$globalContainer = null;
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function __construct(
168 168
         ?LoggerInterface $logger = null,
169
-        array|string|DefinitionSource|null $phpDiContainerConfig = null,
169
+        array | string | DefinitionSource | null $phpDiContainerConfig = null,
170 170
         bool $useGlobalDefinitions = true
171 171
     ) {
172 172
         if ($phpDiContainerConfig !== null || $logger !== null) {
Please login to merge, or discard this patch.