Passed
Push — master ( 158433...e258e4 )
by Zaahid
03:43
created
src/Header/MimeEncodedHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     protected function parseHeaderValue(IConsumerService $consumer, string $value) : void
42 42
     {
43
-        $matchp = '~' . MimeLiteralPart::MIME_PART_PATTERN . '~';
43
+        $matchp = '~'.MimeLiteralPart::MIME_PART_PATTERN.'~';
44 44
         $rep = \preg_replace_callback($matchp, function($matches) {
45 45
             return $this->mimeLiteralPartFactory->newInstance($matches[0])->getValue();
46 46
         }, $value);
Please login to merge, or discard this patch.
src/Message/MessagePart.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -237,12 +237,12 @@
 block discarded – undo
237 237
     {
238 238
         $params = '';
239 239
         if (!empty($this->getContentId())) {
240
-            $params .= ', content-id=' . $this->getContentId();
240
+            $params .= ', content-id='.$this->getContentId();
241 241
         }
242
-        $params .= ', content-type=' . $this->getContentType();
242
+        $params .= ', content-type='.$this->getContentType();
243 243
         $nsClass = static::class;
244 244
         $class = \substr($nsClass, (\strrpos($nsClass, '\\') ?? -1) + 1);
245
-        return $class . '(' . \spl_object_id($this) . $params . ')';
245
+        return $class.'('.\spl_object_id($this).$params.')';
246 246
     }
247 247
 
248 248
     protected function getErrorBagChildren() : array
Please login to merge, or discard this patch.
src/Header/Consumer/IdConsumerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     protected function processParts(array $parts) : array
67 67
     {
68 68
         $id = \array_reduce(\array_filter($parts), function($c, $p) {
69
-            return $c . $p->getValue();
69
+            return $c.$p->getValue();
70 70
         }, '');
71 71
         return \array_merge([$this->partFactory->newLiteralPart($id)], \array_values(\array_filter($parts, function($p) {
72 72
             return ($p instanceof CommentPart);
Please login to merge, or discard this patch.
src/Header/Consumer/AbstractConsumerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     {
162 162
         $sChars = \implode('|', $this->getAllTokenSeparators());
163 163
         $mimePartPattern = MimeLiteralPart::MIME_PART_PATTERN;
164
-        return '~(' . $mimePartPattern . '|\\\\.|' . $sChars . ')~';
164
+        return '~('.$mimePartPattern.'|\\\\.|'.$sChars.')~';
165 165
     }
166 166
 
167 167
     /**
Please login to merge, or discard this patch.
src/Header/AbstractHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
     public function getErrorLoggingContextName() : string
154 154
     {
155
-        return 'Header::' . $this->getName();
155
+        return 'Header::'.$this->getName();
156 156
     }
157 157
 
158 158
     protected function getErrorBagChildren() : array
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
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         if (self::$globalContainer === null) {
81 81
             $builder = new ContainerBuilder();
82 82
             $builder->useAttributes(true);
83
-            $builder->addDefinitions(__DIR__ . '/di_config.php');
83
+            $builder->addDefinitions(__DIR__.'/di_config.php');
84 84
             self::$globalContainer = $builder->build();
85 85
         }
86 86
         return self::$globalContainer;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * Sets global configuration for php-di.
91 91
      */
92
-    public static function setGlobalPhpDiConfiguration(array|string|DefinitionSource $phpDiConfig) : void
92
+    public static function setGlobalPhpDiConfiguration(array | string | DefinitionSource $phpDiConfig) : void
93 93
     {
94 94
         $container = self::getGlobalContainer();
95 95
         $builder = new ContainerBuilder();
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * @param ?LoggerInterface $logger
125 125
      * @param ?array[] $phpDiContainerConfig
126 126
      */
127
-    public function __construct(?LoggerInterface $logger = null, array|string|DefinitionSource|null $phpDiContainerConfig = null)
127
+    public function __construct(?LoggerInterface $logger = null, array | string | DefinitionSource | null $phpDiContainerConfig = null)
128 128
     {
129 129
         $this->container = self::getGlobalContainer();
130 130
         if ($phpDiContainerConfig !== null || $logger !== null) {
Please login to merge, or discard this patch.
src/Message.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -328,11 +328,11 @@
 block discarded – undo
328 328
     {
329 329
         $params = '';
330 330
         if (!empty($this->getMessageId())) {
331
-            $params .= ', message-id=' . $this->getContentId();
331
+            $params .= ', message-id='.$this->getContentId();
332 332
         }
333
-        $params .= ', content-type=' . $this->getContentType();
333
+        $params .= ', content-type='.$this->getContentType();
334 334
         $nsClass = static::class;
335 335
         $class = \substr($nsClass, (\strrpos($nsClass, '\\') ?? -1) + 1);
336
-        return $class . '(' . \spl_object_id($this) . $params . ')';
336
+        return $class.'('.\spl_object_id($this).$params.')';
337 337
     }
338 338
 }
Please login to merge, or discard this patch.