Passed
Push — master ( ca2387...158433 )
by Zaahid
03:58
created
src/Header/Consumer/Received/DomainConsumerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
         $strValue = $ehloName;
107 107
         if ($commentPart !== null && $this->matchHostPart($commentPart->getComment(), $hostname, $address)) {
108
-            $strValue .= ' (' . $commentPart->getComment() . ')';
108
+            $strValue .= ' ('.$commentPart->getComment().')';
109 109
             $commentPart = null;
110 110
         }
111 111
 
Please login to merge, or discard this patch.
src/Header/Consumer/CommentConsumerService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,9 +100,9 @@
 block discarded – undo
100 100
         foreach ($parts as $part) {
101 101
             // order is important here - CommentPart extends LiteralPart
102 102
             if ($part instanceof CommentPart) {
103
-                $comment .= '(' . $part->getComment() . ')';
103
+                $comment .= '('.$part->getComment().')';
104 104
             } elseif ($part instanceof LiteralPart) {
105
-                $comment .= '"' . \str_replace('(["\\])', '\$1', $part->getValue()) . '"';
105
+                $comment .= '"'.\str_replace('(["\\])', '\$1', $part->getValue()).'"';
106 106
             } else {
107 107
                 $comment .= $part->getValue();
108 108
             }
Please login to merge, or discard this patch.
src/Header/Consumer/ReceivedConsumerService.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
     protected function getTokenSplitPattern() : string
88 88
     {
89 89
         $sChars = \implode('|', $this->getAllTokenSeparators());
90
-        return '~(' . $sChars . ')~';
90
+        return '~('.$sChars.')~';
91 91
     }
92 92
 
93 93
     /**
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
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $sChars = \implode('|', $this->getAllTokenSeparators());
54 54
         $mimePartPattern = MimeLiteralPart::MIME_PART_PATTERN_NO_QUOTES;
55
-        return '~(' . $mimePartPattern . '|\\\\.|' . $sChars . ')~';
55
+        return '~('.$mimePartPattern.'|\\\\.|'.$sChars.')~';
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
src/Header/Consumer/SubjectConsumerService.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
     protected function getTokenSplitPattern() : string
88 88
     {
89 89
         $sChars = \implode('|', $this->getAllTokenSeparators());
90
-        return '~(' . $sChars . ')~';
90
+        return '~('.$sChars.')~';
91 91
     }
92 92
 
93 93
     /**
Please login to merge, or discard this patch.
src/Header/Consumer/IdConsumerService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,10 +65,10 @@
 block discarded – undo
65 65
      */
66 66
     protected function processParts(array $parts) : array
67 67
     {
68
-        $id = \array_reduce(\array_filter($parts), function ($c, $p) {
69
-            return $c . $p->getValue();
68
+        $id = \array_reduce(\array_filter($parts), function($c, $p) {
69
+            return $c.$p->getValue();
70 70
         }, '');
71
-        return array_merge([$this->partFactory->newLiteralPart($id)], \array_values(\array_filter($parts, function ($p) {
71
+        return array_merge([$this->partFactory->newLiteralPart($id)], \array_values(\array_filter($parts, function($p) {
72 72
             return ($p instanceof CommentPart);
73 73
         })));
74 74
     }
Please login to merge, or discard this patch.
src/Header/Consumer/AddressConsumerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             } elseif ($part instanceof AddressPart) {
114 114
                 return [$this->partFactory->newAddressPart($strName, $part->getEmail())];
115 115
             } elseif ((($part instanceof LiteralPart) && !($part instanceof CommentPart)) && $part->getValue() !== '') {
116
-                $strEmail .= '"' . \preg_replace('/(["\\\])/', '\\\$1', $part->getValue()) . '"';
116
+                $strEmail .= '"'.\preg_replace('/(["\\\])/', '\\\$1', $part->getValue()).'"';
117 117
             } else {
118 118
                 $strEmail .= \preg_replace('/\s+/', '', $part->getValue());
119 119
             }
Please login to merge, or discard this patch.
src/Header/IdHeader.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
     public function getIds() : array
50 50
     {
51 51
         return \array_values(\array_map(
52
-            function ($p) {
52
+            function($p) {
53 53
                 return $p->getValue();
54
-            }, \array_filter($this->parts, function ($p) {
54
+            }, \array_filter($this->parts, function($p) {
55 55
                 return !($p instanceof CommentPart);
56 56
             })
57 57
         ));
Please login to merge, or discard this patch.
src/ErrorBag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         }
81 81
         return \array_values(\array_filter(
82 82
             $this->errors,
83
-            function ($e) use ($minPsrLevel) {
83
+            function($e) use ($minPsrLevel) {
84 84
                 return $e->isPsrLevelGreaterOrEqualTo($minPsrLevel);
85 85
             }
86 86
         ));
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     public function getAllErrors(bool $validate = false, string $minPsrLevel = LogLevel::ERROR) : array
95 95
     {
96 96
         $arr = \array_values(\array_map(
97
-            function ($e) use ($validate, $minPsrLevel) {
97
+            function($e) use ($validate, $minPsrLevel) {
98 98
                 return $e->getAllErrors($validate, $minPsrLevel) ?? [];
99 99
             },
100 100
             $this->getErrorBagChildren()
Please login to merge, or discard this patch.