1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-30 09:19:48 +02:00

used PHP 7.1 features

- ::class
- ... argument unpacking
- removed call_user_func
- operator ??
- list()
- short <?=
This commit is contained in:
David Grudl
2017-06-09 12:21:23 +02:00
parent 750d70c77a
commit 3891625cd1
27 changed files with 100 additions and 109 deletions

View File

@@ -34,7 +34,7 @@ test(function () use ($config) { // query string
Assert::null($conn->getConfig('lazy'));
Assert::same($config['driver'], $conn->getConfig('driver'));
Assert::type('Dibi\Driver', $conn->getDriver());
Assert::type(Dibi\Driver::class, $conn->getDriver());
});