Completed
Pull Request — master (#7)
by
unknown
03:37
created
src/Header/Consumer/CommentConsumer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/Consumer/QuotedStringConsumer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/Consumer/AddressBaseConsumer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/Consumer/ParameterConsumer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/Consumer/ConsumerService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/Consumer/GenericConsumer.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         array $parts,
102 102
         array &$retParts,
103 103
         $curIndex,
104
-        HeaderPart &$spacePart,
104
+        HeaderPart & $spacePart,
105 105
         HeaderPart $lastPart
106 106
     ) {
107 107
         $count = count($parts);
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * @param int $curIndex
128 128
      * @param \ZBateson\MailMimeParser\Header\Part\HeaderPart $spacePart
129 129
      */
130
-    private function addSpaces(array $parts, array &$retParts, $curIndex, HeaderPart &$spacePart = null)
130
+    private function addSpaces(array $parts, array &$retParts, $curIndex, HeaderPart & $spacePart = null)
131 131
     {
132 132
         $lastPart = end($retParts);
133 133
         if ($spacePart !== null && $parts[$curIndex]->getValue() !== '' && $lastPart !== false) {
Please login to merge, or discard this patch.
src/Header/Consumer/AddressGroupConsumer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/MimePartFactory.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/MessageParser.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
     private function getParentBoundary($curBoundary, MimePart $parent = null)
173 173
     {
174 174
         return $parent !== null ?
175
-            $parent->getHeaderParameter('Content-Type', 'boundary') :
176
-            $curBoundary;
175
+            $parent->getHeaderParameter('Content-Type', 'boundary') : $curBoundary;
177 176
     }
178 177
     
179 178
     /**
Please login to merge, or discard this patch.