The class Credis_Cluster is marked as deprecated, and so are methods in Credis_Sentinel that are referencing Credis_Cluster, such as createCluster() and getCluster().
However, the documentation in README.markdown suggests using these methods for automatic failover with Sentinel, like this:
$sentinel = new Credis_Sentinel(new Credis_Client('127.0.0.1',26379));
$masterAddress = $sentinel->getMasterAddressByName('mymaster');
$cluster = $sentinel->getCluster('mymaster');
Is the documentation outdated? If so, how should automatic failover with Sentinel be set up using Credis to be compatible with future versions?