mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +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
|
@ -79,21 +79,21 @@ bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale)
|
|||
/* Check the base for scale digits. */
|
||||
if (power->n_scale != 0)
|
||||
{
|
||||
php_error_docref (NULL, E_WARNING, "non-zero scale in base");
|
||||
php_error_docref (NULL, E_WARNING, "Non-zero scale in base");
|
||||
_bc_truncate (&power);
|
||||
}
|
||||
|
||||
/* Check the exponent for scale digits. */
|
||||
if (exponent->n_scale != 0)
|
||||
{
|
||||
php_error_docref (NULL, E_WARNING, "non-zero scale in exponent");
|
||||
php_error_docref (NULL, E_WARNING, "Non-zero scale in exponent");
|
||||
_bc_truncate (&exponent);
|
||||
}
|
||||
|
||||
/* Check the modulus for scale digits. */
|
||||
if (modulus->n_scale != 0)
|
||||
{
|
||||
php_error_docref (NULL, E_WARNING, "non-zero scale in modulus");
|
||||
php_error_docref (NULL, E_WARNING, "Non-zero scale in modulus");
|
||||
_bc_truncate (&modulus);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue