I am currently on Symfony2 2.3.7. When I run the composer update command. In the post-update-cmd a script is run to update symfony2. But it fails:
Script Sen
I solved this by updating your composer.json to match the php version you have on your machine
"config" : { "bin-dir" : "bin", "platform" : { "php" : "7.0.21" //Update this same as your $> php -v } },