Skip to content

Commit

Permalink
Fix deprecated dynamic property for PHP 8.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
SagePtr committed Oct 7, 2022
1 parent 9600d41 commit 7e5560d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/JsPhpize/Lexer/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7e5560d

Please sign in to comment.