Test Failed
Push — 2.0 ( 91a8b2...00e111 )
by Zaahid
08:02 queued 04:36
created
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/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/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.
src/Header/Consumer/ParameterConsumer.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $sChars = implode('|', $this->getAllTokenSeparators());
48 48
         $mimePartPattern = MimeLiteralPart::MIME_PART_PATTERN_NO_QUOTES;
49
-        return '~(' . $mimePartPattern . '|\\\\.|' . $sChars . ')~';
49
+        return '~('.$mimePartPattern.'|\\\\.|'.$sChars.')~';
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      * @param int $index
83 83
      * @param boolean $isEncoded
84 84
      * @return SplitParameterToken
85
-    */
85
+     */
86 86
     private function addToSplitPart(ArrayObject $splitParts, $name, $value, $index, $isEncoded)
87 87
     {
88 88
         $ret = null;
Please login to merge, or discard this patch.
src/Header/Consumer/Received/GenericReceivedConsumer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected function getSubConsumers()
78 78
     {
79
-        return [ $this->consumerService->getCommentConsumer() ];
79
+        return [$this->consumerService->getCommentConsumer()];
80 80
     }
81 81
 
82 82
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     protected function isStartToken($token)
90 90
     {
91
-        $pattern = '/^\s*(' . preg_quote($this->getPartName(), '/') . ')\s*$/i';
91
+        $pattern = '/^\s*('.preg_quote($this->getPartName(), '/').')\s*$/i';
92 92
         return (preg_match($pattern, $token) === 1);
93 93
     }
94 94
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         return [
125 125
             '\s+',
126
-            '(\A\s*)?(?i)' . preg_quote($this->getPartName(), '/') . '(?-i)\s+'
126
+            '(\A\s*)?(?i)'.preg_quote($this->getPartName(), '/').'(?-i)\s+'
127 127
         ];
128 128
     }
129 129
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         foreach ($filtered as $part) {
146 146
             if ($part instanceof CommentPart) {
147 147
                 $ret[] = $part;
148
-                continue;    // getValue() is empty anyway, but for clarity...
148
+                continue; // getValue() is empty anyway, but for clarity...
149 149
             }
150 150
             $strValue .= $part->getValue();
151 151
         }
Please login to merge, or discard this patch.
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
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             $dateToken = preg_replace('# ([0-9]{4})$#', ' +$1', $dateToken);
43 43
         // @see https://bugs.php.net/bug.php?id=42486
44 44
         } elseif (preg_match('#UT$#', $dateToken)) {
45
-            $dateToken = $dateToken . 'C';
45
+            $dateToken = $dateToken.'C';
46 46
         }
47 47
 
48 48
         try {
Please login to merge, or discard this patch.