From 92f120cc26d5acd60bd4300e6bb44e168e53b374 Mon Sep 17 00:00:00 2001 From: PavelSPN <33983132+PavelSPN@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:52:17 +0300 Subject: [PATCH] PHP8.2 compatibility: Deprecated function: Creation of dynamic property add PHP8.2 support for the "Parser" class by adding #[\AllowDynamicProperties] property https://www.php.net/manual/en/class.allowdynamicproperties.php --- src/QueryPath/CSS/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/QueryPath/CSS/Parser.php b/src/QueryPath/CSS/Parser.php index f0416129..cc5fd155 100644 --- a/src/QueryPath/CSS/Parser.php +++ b/src/QueryPath/CSS/Parser.php @@ -21,6 +21,7 @@ * * @ingroup querypath_css */ +#[\AllowDynamicProperties] class Parser { protected $scanner = NULL; protected $buffer = '';