-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Needed
-
PHPC-1021 will remove the integer constants for read preferences in 2.0. Before we can remove them, they should be deprecated to allow users an easier upgrade.
- Throw a deprecation notice (E_DEPRECATED) when using an integer value in ReadPreference::__construct
- Deprecate ReadPreference::getMode as it returns integer constants