Fix CS from scrutiniser-ci
Move query logging into its own method
Adjust DoctrineListener to remove unnecessary method getDoctrineObject
BC BREAK: Add `handlesObject` method to ObjectPersisterInterface
move classes to parametes
Merge branch '3.0.x'
Merge branch 'cs-fixes-31'