Skip to content

Commit 455c506

Browse files
committed
Added a standard violation for demo purposes
1 parent d17b98e commit 455c506

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Doctrine/DBAL/Connection.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ public function __construct(array $params, Driver $driver, Configuration $config
225225
$config = new Configuration();
226226
}
227227

228+
if (!$config) {
229+
echo 'Hmm... there\'s still no config';
230+
}
231+
228232
if ( ! $eventManager) {
229233
$eventManager = new EventManager();
230234
}

0 commit comments

Comments
 (0)