From d1764ca33018f1f2e4a05926c879c67ad4aa8da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 15 Jan 2020 11:27:29 +0100 Subject: Make error messages more consistent by fixing capitalization Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable. --- ext/sqlite3/sqlite3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/sqlite3/sqlite3.c') diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c index 3ceee03231..812758433d 100644 --- a/ext/sqlite3/sqlite3.c +++ b/ext/sqlite3/sqlite3.c @@ -1299,7 +1299,7 @@ PHP_METHOD(sqlite3, openBlob) } if (ZEND_NUM_ARGS() >= 4 && CHECK_NULL_PATH(dbname, dbname_len)) { - zend_value_error("dbname must not contain NUL bytes"); + zend_value_error("dbname must not contain null bytes"); RETURN_THROWS(); } @@ -1408,7 +1408,7 @@ PHP_METHOD(sqlite3, backup) if ((ZEND_NUM_ARGS() >= 2 && CHECK_NULL_PATH(source_dbname, source_dbname_length)) || (ZEND_NUM_ARGS() >= 3 && CHECK_NULL_PATH(destination_dbname, destination_dbname_length)) ) { - zend_value_error("dbname must not contain NUL bytes"); + zend_value_error("dbname must not contain null bytes"); RETURN_THROWS(); } -- cgit v1.2.1