-
Notifications
You must be signed in to change notification settings - Fork 93
[SYMFONY62] OhMySMTP, ArgumentValueResolverInterface, Security etc. #278 #279
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
Conversation
Fixes #278 |
What is the best way to remove the function call to |
However, doing it this way might not update implementations like: $form = $contactForm->createView();
return $this->render('template.html.twig', [
'contact_form' => $form,
]; But I think it'll be safer to limit this feature to update calls within the |
@stefantalen i agree, and the implementation like you mention also still works |
Let me know when this is ready. The createView() removal will indeed need a custom rule. The conditions list seem valid. |
Please run:
to make CI green. |
You can verify phpstan with run:
|
@samsonasik its ready now :) |
@TomasVotruba its ready |
Note i added a bit more rules |
config/sets/symfony/symfony62.php
Outdated
// @see https://github.com/symfony/symfony/pull/47711 | ||
new MethodCallRename('Symfony\Component\Mime\Email', 'attachPart', 'addPart'), | ||
// @see https://github.com/symfony/symfony/pull/47363 | ||
new MethodCallRename( |
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.
Is this allowed because return type is different supports: bool resolve: array
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.
Per comment on #283 (comment)
this part may need to be reverted
Thank you 👏 |
…ectorphp#278 (rectorphp#279) Co-authored-by: johan <johan@adivare.nl>
No description provided.