I have tried to run my migrations in phpmig using the Mongo PHP Adapter (https://github.com/alcaeus/mongo-php-adapter) because I'm using Doctrine ODM, but when I try to run the migrations the error of Cannot pass parameter 1 by reference appears.
With this little fix can work either with the legacy Mongo driver and with the adapter.
I have tried to run my migrations in phpmig using the Mongo PHP Adapter (https://github.com/alcaeus/mongo-php-adapter) because I'm using Doctrine ODM, but when I try to run the migrations the error of
Cannot pass parameter 1 by reference
appears. With this little fix can work either with the legacy Mongo driver and with the adapter.This is the error trace: