doctrine/mongodb — pull request #81 by henrikbjorn (2012-11-28 08:20:10+00:00)
Title: MongoDB Driver 1.3.0 changes.

As of 1.3.0 the Mongo class is now deprecated which means that the
Connection class have gotten it's typehinting changed. The methods are
still called getMongo and setMongo. This changed have been reflected in
it's Tests.

composer.json now specifies the requirement for ext-mongo to be greater
or equals to 1.3.0.

While looking at the changes needed and running the tests the Query class
stand out. 1.3.0 specifies that the "safe" option is deprecated and it now
configured with ?w=1 (default also) in the connection string. This means the
returned value from Query::execute() will per default now also be an array.
Should the tests just be changed to assert the array ok option?