Fixed a very minor typo
Merge pull request #1192 from javiereguiluz/patch-4

Fixed a very minor typo
Correction Events.rs - Entity Listeners Resolver

Configuring the Entity Listener Resolver can only be done before Entity Manager is initialized as described here: https://github.com/doctrine/doctrine2/pull/1193
Fixed counting exception

Fixed "Invalid parameter number: number of bound variables does not match number of tokens " exception during execution count on Query where select part of query contains :parameters.
Allowed to get count query from paginator.
Test parameter removing parameters passed to select part of query.
Testing SQLs in functional test is not necessary
Filtering by auto-increnement field causes test error.

Executing the same test many times causes error because AI fields.
Missing doc block, removed parse() parameter.

Missing doc block, removed parse() parameter.
#1188 - removing unused variable assignments
#1188 - making `Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery()` private, as it is an implementation detail
#1188 - accessing `Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery()` via reflection for test purposes
#1188 - minor CS fixes (avoiding DQL one-liner)
#1188 - `assertCount` instead of `assertEquals`
#1188 - Importing parser class
#1188 - Simplified and optimized parameter un-setting logic
Merge branch 'hotfix/#1188-support-count-queries-with-parameters-in-removed-query-parts'

Close #1188
Modified class metadata factory to have entity tables inherit indexes from mapped superclasses
#1196 DDC-3418 DDC-3419 - refactoring inherited indexes copying logic into separate private method
#1196 DDC-3418 DDC-3419 - refactoring class metadata factory to avoid duplicate checks