I have a problems with Doctrine on Sf2.7, when I run a command such as "doctrine: schema: update" I get:

```
[Doctrine\Common\Persistence\Mapping\MappingException] File mapping drivers must have a valid directory path, however the given path 0 seems to be incorrect!

```

This worked well until I make a drop of a database to recreate it in "clean" after a lot changed entities ...

Here is an excerpt from my config.yml

```

    # Doctrine Configuration
    doctrine:
        dbal:
            default_connection: default
            connections:
                default:
                    driver:    pdo_mysql
                    dbname:    "%database_name%"
                    host:      "%database_host%"
                    port:      "%database_port%"
                    user:      "%database_user%"
                    password:  "%database_password%"
                    charset:   UTF8
        orm:
            default_entity_manager: default
            entity_managers:
                default:
                    connection: default
                    auto_mapping: true

```

all entities begin with this type of annotations:

```
/**
 * User
 *
 * @ORM\Entity
 * @ORM\Table(name="usr_user")
 * @ORM\Entity(repositoryClass="Acme\UserBundle\Repository\UserRepository")
 */
```

I searched our friend Google, OpenClassRooms and here of course but not found ... someone an idea ?