doctrine/doctrine2 — pull request #1227 by c960657 (2014-12-19 19:20:50+00:00)
Title: Ensure query cache is not ArrayCache in production

This PR applies the same check for the query cache that was done for the metadata cache in #1177 (as suggested by @stof).