mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #9074] Deprecate ensureProductionSettings()
#11356
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/9074
State: closed
Merged: Yes
Doctrine does not provide its own cache implementation anymore and relies on the PSR-6 standard instead. As a consequence, we cannot determine anymore whether a given cache adapter is suitable for a production environment.
The corresponding functionality has always been error-prone. For instance if cache adapters are decorated, the
orm:ensure-production-settingscommand would not complain anymore. By adopting PSR-6, this gets even harder because we would need to have internal knowledge of any PSR-6 compatible library a user might potentially use.Moreover, I really don't think that we should offer this kind of inspection and therefore propose to remove it.