-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Less psalm warnings #23144
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
Less psalm warnings #23144
Conversation
$x is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <[email protected]>
$y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <[email protected]>
also ILiteral and IQueryFunction are valid. Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
6062461 to
0e3ddf1
Compare
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 33616: failuremariadb10.4-php7.4
acceptance-users
Show full log |
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far looks good 👍
Also neat that it solves 129 errors :)
| * Creates a LIKE() comparison expression with the given arguments. | ||
| * | ||
| * @param string $x Field in string format to be inspected by LIKE() comparison. | ||
| * @param ILiteral|IParameter|IQueryFunction|string $x Field in string format to be inspected by LIKE() comparison. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be done on some other functions too, but well one after the other
|
@kesselb the PHPDoc of setValue is updated, right? Anything else missing to get this in? |
@MorrisJobke ready. Just the check was missing. |
|
🙏 this also solves some issues in Mail reported by psalm. Thanks 🚀 |
|
I back ported the PHPDoc in #23971, because there was the method newly used and thus caused issues. |
Uh oh!
There was an error while loading. Please reload this page.