-
-
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
Bump Symfony versions to ^3.4 and ^4.2 #5733
Conversation
@greg0ire WDYT? |
Build is 💚 , do we need to change anything on dev-kit ? |
I would use this as a changelog: ### Removed
- Support for Symfony < 3.4
- Support for Symfony >= 4, < 4.2 |
I updated the PR header |
Can you please go through these queries, see what code you can drop? Apparently there even is code that we should have removed when dropping sf < 2.8 |
Same for "bump": https://github.com/sonata-project/SonataAdminBundle/search?q=bump&unscoped_q=bump |
mmm Symfony 2.8 is still supported, I guess should be:
|
@franmomu we are happy as soon as one LTS is supported, support for 2.8 can be dropped. |
Perfect! so I'll remove 2.8 as well! 😬 |
f77c8ab
to
015109f
Compare
Some changes apart from removing code:
|
We can bump to 3.4.30, not really an issue if we're bumping to 3.4 |
Why? Isn't it supposed to be an optional dependency for us? |
No it was optional because not supported with 2.8 IIRC |
Oh ok then. |
That's what I thought and this also just reminded me that we can probably get rid of or deprecate |
8027ed8
to
00d01b5
Compare
0766fab
to
7deb61b
Compare
3c3147f
to
597725b
Compare
597725b
to
5708365
Compare
Thanks @franmomu !!! |
@@ -109,7 +108,7 @@ public function testExecute(): void | |||
$this->output = new StreamOutput(fopen('php://memory', 'w', false)); | |||
|
|||
$this->io = new ConsoleStyle($this->input, $this->output); | |||
$fileManager = new FileManager(new Filesystem(), '.'); | |||
$fileManager = new FileManager(new Filesystem(), new AutoloaderUtil(new ComposerAutoloaderFinder('Sonata\AdminBundle\Tests')), $this->projectDirectory.'/config/'.$this->servicesFile); |
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.
@franmomu since this particular change, I have a dirty working directory after running the tests:
Untracked files:
(use "git add <file>..." to include in what will be committed)
tests/Admin/FooAdmin.php
tests/Controller/FooAdminController.php
Shouldn't these be generated in /tmp
?
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.
let me take a look
Subject
As commented here, the current minimal Symfony versions supported has been unmaintained for a while. This PR is about bump those versions to the current maintained versions.
I am targeting this branch, because these changes respect BC.
Changelog
I guess this line could be changed as well.
PS: Not sure if changelog is neededI'll add changelog just in case, if not remove it.EDIT:
To keep track of this change in the other packages, I'll list them here: