Fixed a wrong return type.
Removed an unused local variable.
Fixed return statements in SchemaTool.
Removed outdated methods in DatabasePlatformMock.
Merge pull request #567 from BenMorel/uselessmethods

Removed outdated methods in DatabasePlatformMock
Merge pull request #566 from BenMorel/toolreturntype

Added missing return statement to AbstractCommand.
Merge pull request #565 from BenMorel/unusedvar

Removed an unused local variable.
Merge pull request #564 from BenMorel/f834c37f8a465ca3e23ee9ae62ef0bc4a525454c

Fix a wrong return type
Noted prePersist event only triggers on first persist

While probably obvious to a core doctrine developer, a user of doctrine would not necessarily know this without doing some digging
Merge pull request #573 from EvanK/patch-1

[Documentation] Noted prePersist event only triggers on first persist
Added YAML configuration example for "Simple Derived Identity" in "Composite and Foreign Keys as Primary Key" Tutorial
Update docs/en/reference/batch-processing.rst

If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.

In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.
Revert "allowed to pass filter objects to the configurator"

This reverts commit a9b4debe37370a4ff30141f8e4c6a444c226e06c. See the
discussion on the original PR:

https://github.com/doctrine/doctrine2/pull/434

Conflicts:
	lib/Doctrine/ORM/Configuration.php
[DDC-2019] Add support for expression in QueryBuilder#addOrderBy()
Add php 5.5 to the build matrix (travis)
Merge pull request #575 from naitsirch/master

Added YAML configuration example for "Simple Derived Identity" in Docs
Merge pull request #576 from acasademont/patch-1

Update docs/en/reference/batch-processing.rst