Use an older version of 'DoctrineExtensions' to keep BC.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | --
| Fixed tickets | #1006
| License       | MIT
| Doc PR        | --