1
0
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:
David Grudl
2015-06-19 03:11:36 +02:00
parent 462ef6934b
commit ca99b0b822
55 changed files with 297 additions and 306 deletions

View File

@@ -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());