-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove sensio generator #5797
Remove sensio generator #5797
Conversation
1b82040
to
497bb44
Compare
After removing https://packagist.org/packages/sensio/generator-bundle, we are finally testing symfony 4+. The dev-dependency had locked symfony to version 3 oO |
Ouch! Is that why Travis is failing? We should probably add some sanity check for this 😅 |
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.
Looks good, but I think it's far from being the end of it after looking at the tests 😅
No idea. Btw. we have no travis tests for symfony 4 🤔
I wonder why this code was working, because in production you could use symfony 4 |
That's probably something we usually add when a new major gets out, and we should probably challenge that. |
We need to port some removed test classes here too |
Could you please rebase your PR and fix merge conflicts? |
src/Controller/CRUDController.php
Outdated
@@ -88,7 +88,7 @@ public function setContainer(ContainerInterface $container = null): void | |||
* | |||
* @deprecated since version 3.27, to be removed in 4.0. Use Sonata\AdminBundle\Controller\CRUDController::renderWithExtraParams() instead. | |||
*/ | |||
public function render($view, array $parameters = [], Response $response = null) | |||
public function render(string $view, array $parameters = [], ?Response $response = null): Response |
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.
This method should be removed anyway
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.
That's right, but I wanted to make the removal more atomic to have a shorter review process
a35f87f
to
67db9d1
Compare
8fee709
to
25f7174
Compare
25f7174
to
52d543a
Compare
e209e30
to
f1b92c8
Compare
Can someone please help? Why is the method |
Could it be when importing from CoreBundle? |
43087f4
to
9c2b0ce
Compare
9c2b0ce
to
8b34e25
Compare
Temporary removed the CoreBundle test from Travis, because this will be removed with the next PR #5787 |
Subject
I am targeting this branch, because this is a BC break.
Changelog