mirror of
https://github.com/dg/dibi.git
synced 2025-08-19 20:33:37 +02:00
used PHP 7.1 features
- ::class - ... argument unpacking - removed call_user_func - operator ?? - list() - short <?=
This commit is contained in:
@@ -15,16 +15,16 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");
|
||||
|
||||
/*Assert::exception(function () use ($conn) {
|
||||
$conn->rollback();
|
||||
}, 'Dibi\Exception');
|
||||
}, Dibi\Exception::class);
|
||||
|
||||
Assert::exception(function () use ($conn) {
|
||||
$conn->commit();
|
||||
}, 'Dibi\Exception');
|
||||
}, Dibi\Exception::class);
|
||||
|
||||
$conn->begin();
|
||||
Assert::exception(function () use ($conn) {
|
||||
$conn->begin();
|
||||
}, 'Dibi\Exception');
|
||||
}, Dibi\Exception::class);
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user