Skip to content

Commit

Permalink
Merge pull request #56 from liip/remove-paratest
Browse files Browse the repository at this point in the history
Remove paratest support
  • Loading branch information
alexislefebvre authored Feb 16, 2020
2 parents 3774b39 + 03be2d6 commit 664e155
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Factory/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ class ConnectionFactory extends BaseConnectionFactory
*/
public function createConnection(array $params, Configuration $config = null, EventManager $eventManager = null, array $mappingTypes = [])
{
$dbName = $this->getDbNameFromEnv($params['dbname']);

if ('pdo_sqlite' === $params['driver']) {
$params['path'] = str_replace('__DBNAME__', $dbName, $params['path']);
} else {
$params['dbname'] = $dbName;
}

return parent::createConnection($params, $config, $eventManager, $mappingTypes);
}

Expand Down

0 comments on commit 664e155

Please sign in to comment.