mirror of
https://github.com/dg/dibi.git
synced 2025-08-31 17:51:43 +02:00
improved coding style
This commit is contained in:
@@ -9,7 +9,7 @@ use Tester\Assert;
|
||||
require __DIR__ . '/bootstrap.php';
|
||||
|
||||
|
||||
test(function() use ($config) {
|
||||
test(function () use ($config) {
|
||||
$conn = new DibiConnection($config);
|
||||
Assert::true($conn->isConnected());
|
||||
|
||||
@@ -18,7 +18,7 @@ test(function() use ($config) {
|
||||
});
|
||||
|
||||
|
||||
test(function() use ($config) { // lazy
|
||||
test(function () use ($config) { // lazy
|
||||
$conn = new DibiConnection($config + array('lazy' => TRUE));
|
||||
Assert::false($conn->isConnected());
|
||||
|
||||
@@ -27,7 +27,7 @@ test(function() use ($config) { // lazy
|
||||
});
|
||||
|
||||
|
||||
test(function() use ($config) { // query string
|
||||
test(function () use ($config) { // query string
|
||||
$conn = new DibiConnection(http_build_query($config, NULL, '&'));
|
||||
Assert::true($conn->isConnected());
|
||||
|
||||
|
Reference in New Issue
Block a user