Update lib/Doctrine/ODM/PHPCR/Document/File.php
Update lib/Doctrine/ODM/PHPCR/Document/File.php

use \finfo to get mime type and encoding instead of deprecated mime_content_type function
uwej711/phpcr-odm,sarcher/phpcr-odm,uwej711/phpcr-odm,AxaliaN/phpcr-odm2,AxaliaN/phpcr-odm2,Ocramius/phpcr-odm,doctrine/phpcr-odm,valiton-forks/phpcr-odm,sarcher/phpcr-odm,doctrine/phpcr-odm,valiton-forks/phpcr-odm,Ocramius/phpcr-odm,WouterJ/phpcr-odm,WouterJ/phpcr-odm