cocorico
cocorico copied to clipboard
Support newer versions of symfony
Q | A |
---|---|
Bug report? | [ ] |
Feature request? | [ ] |
Support request? | [X] |
Hello 👋
With symfony 3.4 no longer maintained, has there been any work towards symfony 4 ?
I found this subject about it, though I can't find anything about it afterwards.
Hello @PieterjanMontens,
An upgrade to SF4 is planned for the end of the first quarter.
Thanks for the update.
I opted for a progressive migration towards SF4 on the fork I'm working on ( https://github.com/betagouv/itou-cocorico/ ) while trying to document changes as I go.
In short:
- switched assetic for webpack (config file)
- some minor refactoring (deprecated php code)
- JS refactoring (because webpack / encore)
- Some JS libraries provided by node instead of composer
- Managed to make it work with mostly unpinned (and up to date) dependencies : https://github.com/betagouv/itou-cocorico/blob/master/composer.json
Switch to 4.0 is close (not looking forward to switching to Flex) and most depreciation alerts are from dependencies, not from the application code.