doctrine/common — pull request #98 by Ocramius (2012-01-17 14:49:40+00:00)
Title: File driver as orm behavior

These changes are required for the FileDriver to be a replacement of Doctrine\ORM\Mapping\Driver\AbstractFileDriver (will publish link about the PR for Doctrine\ORM later).

Basically, when no mapping is found in FileDriver#getElement, then a notice is raised. In Doctrine\ORM, if this happens, an exception is thrown. I've aligned FileDriver's behavior to the one of the AbstractFileDriver in ORM as suggested by @beberlei.

A collateral fix has been added to Doctrine\Tests\Common\Persistence\Mapping\DefaultFileLocatorTest as it was failing on Windows.