From 42d4295d84f3ba12a4f3e11cd76c6dfd3db11e18 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 13 Aug 2021 18:17:04 +0200 Subject: [PATCH] Remove full stop from error message Error messages shouldn't have a full stop. Period. --- ext/xml/xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 7f4261853a796..5748329ac1a2f 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -1402,7 +1402,7 @@ PHP_FUNCTION(xml_parser_free) parser = Z_XMLPARSER_P(pind); if (parser->isparsing == 1) { - php_error_docref(NULL, E_WARNING, "Parser cannot be freed while it is parsing."); + php_error_docref(NULL, E_WARNING, "Parser cannot be freed while it is parsing"); RETURN_FALSE; }