Validate driver options
Open
@gajus is already working on this.
Since May 5, 2014.
enhancement
- Dominant language
- PHP
- Stars
- 34
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Doll implementation uses delayed initialisation, which in effect does not allow to catch invalid driver attributes before the database connection is established. This might prove a trouble. If it does, then use ReflectionClass to make sure that driver attributes are valid at the time of instantiating Doll instance:
$pdo_reflecation = new \ReflectionClass('PDO');
$pdo_reflecation->getConstants();
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.