-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8 deprecated warning on Syntax>Column #129
Comments
Came to post this issue too. Have you considered a pull request? @nilportugues |
To provide more context, this happens (at least to me), when trying to select all columns (when not specifying conditions), by just calling Select::setTable() and no other methods. For the query string:
PHP 81 |
I'm considering releasing this package as a PHP 8.2 and above, yeah. |
The big question is WHEN!? |
I recently upgrated to PHP 8.2, and getting warnings on Column->setAlias($alias) function line 115.
Code:
Throws Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ...app/Vendor/nilportugues/sql-query-builder/src/Syntax/Column.php on line 115
The strlen line should be:
if ($alias === null || 0 == \strlen($alias)) {
The text was updated successfully, but these errors were encountered: