Update lib/classes/Swift/MemorySpool.php
Implemented Swift_Message cloning + test
corrected typo
Merge branch 'master' of https://github.com/bmurashin/swiftmailer into message_cloning
Cloning fixed
Added Message-Id regeneration
NullTransport should report that all emails have been delivered.
fixed DecoratorPlugin.php for PHP 5.2
bug #450 fixed DecoratorPlugin.php for PHP 5.2 (sstok)

This PR was merged into the 5.1-dev branch.

Discussion
----------

fixed DecoratorPlugin.php for PHP 5.2

fixes #449

Commits
-------

25eb225 fixed DecoratorPlugin.php for PHP 5.2
Fix Swift_ByteStream_FileByteStream::read to match to the specification.
bug #458 Fix Swift_ByteStream_FileByteStream::read to match to the specification. (realityking)

This PR was merged into the 5.1-dev branch.

Discussion
----------

Fix Swift_ByteStream_FileByteStream::read to match to the specification.

Issue discovered in #418

An explanation for the PHP behavior can be found here: http://us1.php.net/manual/en/function.feof.php#67261

Commits
-------

f497b2e Fix Swift_ByteStream_FileByteStream::read to match to the specification.
Move tests from Simpletest to PHPUnit and Mockery.
Remove Simpletest.
feature #418 Use PHPUnit for unit testing (realityking)

This PR was merged into the 5.1-dev branch.

Discussion
----------

Use PHPUnit for unit testing

Follow up to #413. This is not quite complete, but I'm over 90% there.

I've splitted the pull request into two commits for now so it's easier to work with. Everything in the folder test is not converted yet. I've detailed some problems I need help with below. For the final result I intent on one big commit removing the old tests and adding the new ones. Since I'm preserving the folder structure this should give us a nice clean changelog.

While I do the remaining unit tests for Transport I need some help with the following things:

- [x] There's one acceptance test left I can't get to work. I added a @todo comment to describe the problem.
- [x] There's one unit test in the folder MIME I can't get to work with Mockery. I added a @todo comment to describe the problem.
- [ ] The smoke tests have lost the visual comparison. I have no idea how to get that to work with PHPUnit.
- [ ] The tests for the new DKIM feature still have to be done as I don't have the necessary extension installed.

If someone could look at those three things I'd appreciate it.

Commits
-------

cd953a5 Remove Simpletest.
333a6e5 Move tests from Simpletest to PHPUnit and Mockery.
Updated targeted version to 5.2
Updated travis config
minor #465 Updated travis config (GrahamCampbell)

This PR was merged into the 5.1-dev branch.

Discussion
----------

Updated travis config

I've added phpunit 5.6 to the new travis.yml, and have added the verbose flag to phpunit. This flag means more details about skipped tests etc. are printed at the end.

Commits
-------

52a6a8d Updated travis config
minor #464 [Question] Updated branch alias? (GrahamCampbell)

This PR was merged into the 5.1-dev branch.

Discussion
----------

[Question] Updated branch alias?

Should this not be 5.2 now because of the overhaul of the test suite?

Commits
-------

6765550 Updated targeted version to 5.2
bug #385 NullTransport should report that all emails have been delivered. (michaldudek)

This PR was merged into the 5.2-dev branch.

Discussion
----------

NullTransport should report that all emails have been delivered.

The PHPDoc for ```NullTransport``` says:

> Pretends messages have been sent, but just ignores them.

However it returns ```0``` from ```send()``` method saying that no mail has been delivered.

It should return number of recipients.

Commits
-------

157ca16 NullTransport should report that all emails have been delivered.
updated the changelog