-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
check for return type #4721
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
check for return type #4721
Conversation
| public function build(ContainerBuilder $container): void | ||
| { | ||
| parent::build($container); | ||
|
|
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.
should be reverted
| public function build(ContainerBuilder $container) | ||
| { | ||
| parent::build($container); | ||
|
|
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.
should be reverted
| } | ||
| } | ||
| } | ||
|
|
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.
should be reverted
Co-authored-by: Christian Flothmann <[email protected]>
Co-authored-by: Christian Flothmann <[email protected]>
| use Twig\Extra\TwigExtraBundle\DependencyInjection\Compiler\MissingExtensionSuggestorPass; | ||
|
|
||
| if (!method_exists(ContainerBuilder::class, 'getAutoconfiguredAttributes')) { | ||
| $refMethod = new \ReflectionMethod(\Symfony\Component\HttpKernel\Bundle\Bundle::class, 'build'); |
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.
Should be removed as this is unused.
|
OK, perhaps it's better to start with a new PR that just checks for major version? Basically just changing the if condition. |
you can do a force push to your branch to change its history if you want. No need to replace the PR itself. |
|
replaced by #4722 |
I think this captures what we actually want to check for.