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
|
@ -1671,7 +1671,7 @@ PHP_FUNCTION(curl_version)
|
|||
ZEND_PARSE_PARAMETERS_END();
|
||||
|
||||
if (uversion == CURLVERSION_NOW) {
|
||||
php_error_docref(NULL, E_DEPRECATED, "the $version parameter is deprecated");
|
||||
php_error_docref(NULL, E_DEPRECATED, "The $version parameter is deprecated");
|
||||
} else if (ZEND_NUM_ARGS() > 0) {
|
||||
php_error_docref(NULL, E_WARNING, "$version argument ignored");
|
||||
}
|
||||
|
@ -2576,7 +2576,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
|
|||
ch->handlers->write->method = PHP_CURL_FILE;
|
||||
ZVAL_COPY(&ch->handlers->write->stream, zvalue);
|
||||
} else {
|
||||
php_error_docref(NULL, E_WARNING, "the provided file handle is not writable");
|
||||
php_error_docref(NULL, E_WARNING, "The provided file handle is not writable");
|
||||
return FAILURE;
|
||||
}
|
||||
break;
|
||||
|
@ -2594,7 +2594,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
|
|||
ch->handlers->write_header->method = PHP_CURL_FILE;
|
||||
ZVAL_COPY(&ch->handlers->write_header->stream, zvalue);
|
||||
} else {
|
||||
php_error_docref(NULL, E_WARNING, "the provided file handle is not writable");
|
||||
php_error_docref(NULL, E_WARNING, "The provided file handle is not writable");
|
||||
return FAILURE;
|
||||
}
|
||||
break;
|
||||
|
@ -2623,7 +2623,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
|
|||
zval_ptr_dtor(&ch->handlers->std_err);
|
||||
ZVAL_COPY(&ch->handlers->std_err, zvalue);
|
||||
} else {
|
||||
php_error_docref(NULL, E_WARNING, "the provided file handle is not writable");
|
||||
php_error_docref(NULL, E_WARNING, "The provided file handle is not writable");
|
||||
return FAILURE;
|
||||
}
|
||||
/* break omitted intentionally */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue