This is a simple bash script for upgrading font awesome classes from v3.2 to v4.0 for Symfony2 projects.
git clone https://github.com/solispauwels/font-awesome-update.git
cd font-awesome-update
sudo chmod +x update.sh
./update.sh /path/to/your/bundle/
Use git diff
in order to verify if the changes were made correctly.