Test Failed
Push — 2.0 ( 4d4d2f )
by Zaahid
04:35
created
src/Header/Consumer/CommentConsumer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,9 +109,9 @@
 block discarded – undo
109 109
         foreach ($parts as $part) {
110 110
             // order is important here - CommentPart extends LiteralPart
111 111
             if ($part instanceof CommentPart) {
112
-                $comment .= '(' . $part->getComment() . ')';
112
+                $comment .= '('.$part->getComment().')';
113 113
             } elseif ($part instanceof LiteralPart) {
114
-                $comment .= '"' . $part->getValue() . '"';
114
+                $comment .= '"'.$part->getValue().'"';
115 115
             } else {
116 116
                 $comment .= $part->getValue();
117 117
             }
Please login to merge, or discard this patch.
src/Header/Consumer/SubjectConsumer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,6 @@
 block discarded – undo
63 63
     protected function getTokenSplitPattern()
64 64
     {
65 65
         $sChars = implode('|', $this->getAllTokenSeparators());
66
-        return '~(' . $sChars . ')~';
66
+        return '~('.$sChars.')~';
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
src/Header/Consumer/AbstractConsumer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     {
167 167
         $sChars = implode('|', $this->getAllTokenSeparators());
168 168
         $mimePartPattern = MimeLiteralPart::MIME_PART_PATTERN;
169
-        return '~(' . $mimePartPattern . '|\\\\.|' . $sChars . ')~';
169
+        return '~('.$mimePartPattern.'|\\\\.|'.$sChars.')~';
170 170
     }
171 171
     
172 172
     /**
Please login to merge, or discard this patch.
src/Header/Part/SplitParameterToken.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,8 +158,8 @@
 block discarded – undo
158 158
         ksort($parts);
159 159
         return array_reduce(
160 160
             $parts,
161
-            function ($carry, $item) {
162
-                return $carry . $item;
161
+            function($carry, $item) {
162
+                return $carry.$item;
163 163
             },
164 164
             ''
165 165
         );
Please login to merge, or discard this patch.
src/Stream/HeaderStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
54 54
             return $this->part->getRawHeaderIterator();
55 55
         } elseif ($this->part->getParent() !== null && $this->part->getParent()->isMime()) {
56 56
             return new ArrayIterator([
57
-                [ 'Content-Type', $this->part->getContentType() ],
58
-                [ 'Content-Disposition', $this->part->getContentDisposition() ],
59
-                [ 'Content-Transfer-Encoding', $this->part->getContentTransferEncoding() ]
57
+                ['Content-Type', $this->part->getContentType()],
58
+                ['Content-Disposition', $this->part->getContentDisposition()],
59
+                ['Content-Transfer-Encoding', $this->part->getContentTransferEncoding()]
60 60
             ]);
61 61
         }
62 62
         return new ArrayIterator();
Please login to merge, or discard this patch.
src/Message/Helper/GenericHelper.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         } else {
89 89
             $this->copyHeader($from, $to, 'Content-Transfer-Encoding');
90 90
         }
91
-        $rem = array_diff(self::$contentHeaders, [ 'Content-Type', 'Content-Transfer-Encoding']);
91
+        $rem = array_diff(self::$contentHeaders, ['Content-Type', 'Content-Transfer-Encoding']);
92 92
         foreach ($rem as $header) {
93 93
             $this->copyHeader($from, $to, $header);
94 94
         }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      *
108 108
      * @param IMimePart $part
109 109
      * @return MimePart the newly-created MimePart
110
-    */
110
+     */
111 111
     public function createNewContentPartFrom(IMimePart $part)
112 112
     {
113 113
         $mime = $this->mimePartFactory->newInstance();
Please login to merge, or discard this patch.
src/Header/Consumer/ReceivedConsumer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     protected function getTokenSplitPattern()
89 89
     {
90 90
         $sChars = implode('|', $this->getAllTokenSeparators());
91
-        return '~(' . $sChars . ')~';
91
+        return '~('.$sChars.')~';
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
src/Header/Consumer/Received/DomainConsumer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
         $strValue = $ehloName;
111 111
         if ($commentPart !== null && $this->matchHostPart($commentPart->getComment(), $hostname, $address)) {
112
-            $strValue .= ' (' . $commentPart->getComment() . ')';
112
+            $strValue .= ' ('.$commentPart->getComment().')';
113 113
             $commentPart = null;
114 114
         }
115 115
 
@@ -120,6 +120,6 @@  discard block
 block discarded – undo
120 120
             $hostname,
121 121
             $address
122 122
         );
123
-        return array_filter([ $domainPart, $commentPart ]);
123
+        return array_filter([$domainPart, $commentPart]);
124 124
     }
125 125
 }
Please login to merge, or discard this patch.
src/Header/Consumer/IdBaseConsumer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     protected function processParts(array $parts)
98 98
     {
99
-        return array_values(array_filter($parts, function ($part) {
99
+        return array_values(array_filter($parts, function($part) {
100 100
             if (empty($part) || $part instanceof CommentPart) {
101 101
                 return false;
102 102
             }
Please login to merge, or discard this patch.