From 7e5560d1c9eae354a1b40004210db788e2a8f9b3 Mon Sep 17 00:00:00 2001 From: Sage Pointer Date: Fri, 7 Oct 2022 15:47:43 +0000 Subject: [PATCH] Fix deprecated dynamic property for PHP 8.2 compatibility --- src/JsPhpize/Lexer/Lexer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/JsPhpize/Lexer/Lexer.php b/src/JsPhpize/Lexer/Lexer.php index a350e4f..c79d72a 100644 --- a/src/JsPhpize/Lexer/Lexer.php +++ b/src/JsPhpize/Lexer/Lexer.php @@ -43,6 +43,11 @@ class Lexer extends Scanner */ protected $tokenGenerator = null; + /** + * @var string[] + */ + protected $disallow = []; + public function __construct(JsPhpize $engine, $input, $filename) { $this->engine = $engine;