Here below I put the files I had to change to remove the Symfony2Extension, pay attention to the code comments because there's some important instructions there.
Also, gist doesn't let me specify complete paths on the gist file names, so I separated the path with -
instead of
/
. Sorry if it's confusing I made this in a hurry!