From 2f7a2eae75d59c4966b3994a42a0381746d08d6b Mon Sep 17 00:00:00 2001 From: CodeLingoBot Date: Tue, 16 Apr 2019 00:03:21 +1200 Subject: [PATCH] Change PHP keywords to comply with PSR2 Signed-off-by: CodeLingoBot --- tests/dbObjectTests.php | 2 +- tests/mysqliDbTests.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dbObjectTests.php b/tests/dbObjectTests.php index bc29ee6d..e9cd9c42 100644 --- a/tests/dbObjectTests.php +++ b/tests/dbObjectTests.php @@ -41,7 +41,7 @@ Array ('login' => 'user2', 'customerId' => 10, 'firstName' => 'Mike', - 'lastName' => NULL, + 'lastName' => null, 'password' => $db->func('SHA1(?)',Array ("secretpassword2+salt")), 'expires' => $db->now('+1Y'), 'loginCount' => $db->inc(2) diff --git a/tests/mysqliDbTests.php b/tests/mysqliDbTests.php index bd35bc30..05dae8ce 100644 --- a/tests/mysqliDbTests.php +++ b/tests/mysqliDbTests.php @@ -61,7 +61,7 @@ function pretty_print($array) { Array ('login' => 'user2', 'customerId' => 10, 'firstName' => 'Mike', - 'lastName' => NULL, + 'lastName' => null, 'password' => $db->func('SHA1(?)',Array ("secretpassword2+salt")), 'createdAt' => $db->now(), 'updatedAt' => $db->now(), @@ -312,7 +312,7 @@ function createTable ($name, $data) { exit; } /// -$db->where ("lastName", NULL, '<=>'); +$db->where ("lastName", null, '<=>'); $r = $db->get("users"); if ($db->count != 1) { echo "Invalid users count on null where()";