-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support prepared statements type inference #44
Conversation
/** | ||
* @param callable(Node $node):bool $filter | ||
*/ | ||
public function findFirstPreviousOfNode(Node $node, callable $filter): ?Node |
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.
will hopefully be used from astral in the near fuure
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.
|
||
private function findQueryStringExpression(MethodCall $methodCall): ?Expr | ||
{ | ||
// todo: use astral simpleNameResolver |
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.
@@ -4,15 +4,16 @@ | |||
"require": { | |||
"php": "^8.0", | |||
"ext-mysqli": "*", | |||
"phpstan/phpstan": "^1.2" | |||
"phpstan/phpstan": "^1.2", | |||
"rector/rector": "^0.12.11" |
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.
remove rector dependency again in #51
No description provided.