Deprecated: Creation of dynamic property iamcal\SQLParser::$sql is deprecated
Hello, please add
private $sql = '';
to SQLParser.php file for php8.3+ compatibility.
or extend from stdClass if dynamic properties are needed.
best regards, stan
Can you describe the problem? $sql is already declared as a public var and the tests are passing fine under PHP 8.3
Hey @stAn47 @iamcal, I think the issue here is that the commit that added the $sql property (https://github.com/iamcal/SQLParser/commit/1fe57fa39d6de91fc7a2988a7d0c205becbcf341) hasn't been included in a release on Packagist yet.
Tagging a new release should solve it. 😊
Ahh, that makes sense. v0.5 is now on Packagist: https://packagist.org/packages/iamcal/sql-parser
Thanks, Cal!