Skip to content

Commit 6b1c47a

Browse files
committed
Remove full stop from error message
Error messages shouldn't have a full stop. Period. Closes GH-7369.
1 parent cecea72 commit 6b1c47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/xml/xml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ PHP_FUNCTION(xml_parser_free)
14021402

14031403
parser = Z_XMLPARSER_P(pind);
14041404
if (parser->isparsing == 1) {
1405-
php_error_docref(NULL, E_WARNING, "Parser cannot be freed while it is parsing.");
1405+
php_error_docref(NULL, E_WARNING, "Parser cannot be freed while it is parsing");
14061406
RETURN_FALSE;
14071407
}
14081408

0 commit comments

Comments
 (0)