[DDC-2668] Fix trim leading zero string
Merge branch 'DDC-2668' into 2.4
Added a failing test case for DDC-2759.
[DDC-2759] Fix regression in ArrayHydrator introduced in DDC-1884 at SHA c7b4c9bf0fbc5dca830e0a797cea470510def994
Merge branch 'DDC-2759' into 2.4
When the OptimisticLockingException is generated with the static function lockFailedVersionMismatch and the passed parameters are DateTime instances, the exception could not be thrown because the DateTime object is not implicitly converted to a string.
Removed unnecessary is_object() check
Merge branch 'DDC-2715' into 2.4
Release 2.4.1
Bump version to 2.4.2
Create failing test for DDC-2645.

Merge not dealing correctly with composite primary keys.
[DDC-2645] Apply patch to fix issue
Merge branch 'DDC-2645' into 2.4
Multiple invokation of listeners on PreFlush event

Only lifecycle callbacks and entity listeners should be triggered here. The preFlush listener event is already triggered at the beginning of commit()
Added unit test
removed unused use statements, fixed typo and group tag
Listener class prefix
Merge branch 'DDC-2692' into 2.4
[DDC-2775] Tests reproducing DDC-2775
[DDC-2775] Bugfix