-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.3.0
-
Component/s: None
-
Not Needed
-
These numeric codes have no significance outside of libmongoc (and PHP by extension).
The ReadPreference constructor was enhanced to accept mode strings in PHPC-904, so these constants are no longer needed. If removed, we should also ensure that these numeric codes are not used in debugging output.
- depends on
-
PHPC-1489 Deprecate using ReadPreference integer constants
- Closed
- is related to
-
PHPC-1020 URI option readPreference as integer constant value
- Closed
- related to
-
PHPLIB-475 Use read preference formats and strings consistently
- Closed