doctrine / doctrine-website-sphinx

Sphinx-based Doctrine Website
18 stars 25 forks source link

use the fully qualified class name #151

Closed DanielRuf closed 7 years ago

DanielRuf commented 7 years ago

Without the fully qualified class name (FQCN) it does not work and throws an uncaught error. PHP Fatal error: Uncaught Error: Class 'DriverManager' not found

This PR fixes this and updates the readme to include the FQCN in the code example.

Or add use Doctrine\DBAL\DriverManager;

alcaeus commented 7 years ago

Thanks @DanielRuf