mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
117b18d22d
commit
d1764ca330
432 changed files with 1525 additions and 1525 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue