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.
This commit is contained in:
Máté Kocsis 2020-01-15 11:27:29 +01:00
parent 117b18d22d
commit d1764ca330
No known key found for this signature in database
GPG key ID: FD055E41728BF310
432 changed files with 1525 additions and 1525 deletions

View file

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