cocorico icon indicating copy to clipboard operation
cocorico copied to clipboard

Support newer versions of symfony

Open PieterjanMontens opened this issue 4 years ago • 2 comments

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.

PieterjanMontens avatar Jan 10 '21 22:01 PieterjanMontens

Hello @PieterjanMontens,

An upgrade to SF4 is planned for the end of the first quarter.

cocolabssas avatar Jan 25 '21 20:01 cocolabssas

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.

PieterjanMontens avatar Jan 28 '21 08:01 PieterjanMontens