Test Failed
Push — master ( 66d82e...4ebaf8 )
by Zaahid
03:17
created
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/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.