Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@
 block discarded – undo
127 127
 
128 128
     // -- Creation Methods
129 129
 
130
+    /**
131
+     * @return Swift_InputByteStream
132
+     */
130 133
     private function _createMockInputStream()
131 134
     {
132 135
         return $this->getMock('Swift_InputByteStream');
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug38Test.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -183,6 +183,10 @@
 block discarded – undo
183 183
 
184 184
     // -- Helpers
185 185
 
186
+    /**
187
+     * @param string $pattern
188
+     * @param Swift_ByteStream_ArrayByteStream $stream
189
+     */
186 190
     public function assertPatternInStream($pattern, $stream, $message = '%s')
187 191
     {
188 192
         $string = '';
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug51Test.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
 
69 69
     // -- Custom Assertions
70 70
 
71
+    /**
72
+     * @param string $attachmentData
73
+     */
71 74
     public function assertAttachmentFromSourceMatches($attachmentData, $source)
72 75
     {
73 76
         $encHeader = 'Content-Transfer-Encoding: base64';
@@ -104,6 +107,10 @@  discard block
 block discarded – undo
104 107
         fclose($fp);
105 108
     }
106 109
 
110
+    /**
111
+     * @param integer $size
112
+     * @param string $attachmentPath
113
+     */
107 114
     private function _createMessageWithRandomAttachment($size, $attachmentPath)
108 115
     {
109 116
         $this->_fillFileWithRandomBytes($size, $attachmentPath);
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/unit/Swift/MailerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,11 +125,17 @@
 block discarded – undo
125 125
 
126 126
     // -- Creation methods
127 127
 
128
+    /**
129
+     * @return Swift_Events_EventListener
130
+     */
128 131
     private function _createPlugin()
129 132
     {
130 133
         return $this->getMockery('Swift_Events_EventListener')->shouldIgnoreMissing();
131 134
     }
132 135
 
136
+    /**
137
+     * @return Swift_Transport
138
+     */
133 139
     private function _createTransport()
134 140
     {
135 141
         return $this->getMockery('Swift_Transport')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
vendor/swiftmailer/swiftmailer/tests/unit/Swift/Mime/AttachmentTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -294,6 +294,12 @@
 block discarded – undo
294 294
         return new Swift_Mime_Attachment($headers, $encoder, $cache, new Swift_Mime_Grammar(), $mimeTypes);
295 295
     }
296 296
 
297
+    /**
298
+     * @param string $path
299
+     * @param string $data
300
+     *
301
+     * @return Swift_FileStream
302
+     */
297 303
     protected function _createFileStream($path, $data, $stub = true)
298 304
     {
299 305
         $file = $this->getMockery('Swift_FileStream');
Please login to merge, or discard this patch.
swiftmailer/tests/unit/Swift/Mime/ContentEncoder/QpContentEncoderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -474,6 +474,9 @@
 block discarded – undo
474 474
 
475 475
     // -- Creation Methods
476 476
 
477
+    /**
478
+     * @return Swift_CharacterStream
479
+     */
477 480
     private function _createCharacterStream($stub = false)
478 481
     {
479 482
         return $this->getMockery('Swift_CharacterStream')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
swiftmailer/tests/unit/Swift/Mime/Headers/IdentificationHeaderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         $this->assertEquals('References: <a@b> <x@y>'."\r\n", $header->toString());
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $name
187
+     */
185 188
     private function _getHeader($name)
186 189
     {
187 190
         return new Swift_Mime_Headers_IdentificationHeader($name, new Swift_Mime_Grammar());
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Mime/Headers/MailboxHeaderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -307,6 +307,9 @@  discard block
 block discarded – undo
307 307
             );
308 308
     }
309 309
 
310
+    /**
311
+     * @param string $name
312
+     */
310 313
     private function _getHeader($name, $encoder)
311 314
     {
312 315
         $header = new Swift_Mime_Headers_MailboxHeader($name, $encoder, new Swift_Mime_Grammar());
@@ -315,6 +318,9 @@  discard block
 block discarded – undo
315 318
         return $header;
316 319
     }
317 320
 
321
+    /**
322
+     * @param string $type
323
+     */
318 324
     private function _getEncoder($type, $stub = false)
319 325
     {
320 326
         $encoder = $this->getMockery('Swift_Mime_HeaderEncoder')->shouldIgnoreMissing();
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/tests/unit/Swift/Mime/Headers/PathHeaderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
             );
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $name
75
+     */
73 76
     private function _getHeader($name)
74 77
     {
75 78
         return new Swift_Mime_Headers_PathHeader($name, new Swift_Mime_Grammar());
Please login to merge, or discard this patch.