FriendsOfSymfony/FOSFacebookBundle — comment on commit fcadd74fd7c42cc6dec3adffdab95d5a52fd1f13
File:  line 0
By AD7six:

@stof creating a branch or tag to say "this code will work with symfony 2.0" does not mean "use the symfony version numbers with your own code".

Creating a branch/tag so that it can be pointed at, (and updating the readme) will prevent anybody who installs latest symfony stable and this bundle - dutifully following the instructions in the readme - from seeing this:

$ php bin/vendors update
....
PHP Fatal error: Call to undefined method Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension::addSecurityListenerFactory() in /home/andy/www/apps/project/vendor/bundles/FOS/FacebookBundle/FOSFacebookBundle.php on line 25
PHP Stack trace:
PHP 1. {main}() /home/andy/www/apps/project/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /home/andy/www/apps/project/app/console:22
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /home/andy/www/apps/project/vendor/symfony/src/Symfony/Component/Console/Application.php:118
PHP 4. Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() /home/andy/www/apps/project/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:66
PHP 5. Symfony\Component\HttpKernel\Kernel->boot() /home/andy/www/apps/project/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
PHP 6. Symfony\Component\HttpKernel\Kernel->initializeContainer() /home/andy/www/apps/project/app/bootstrap.php.cache:513
PHP 7. Symfony\Component\HttpKernel\Kernel->buildContainer() /home/andy/www/apps/project/app/bootstrap.php.cache:779
PHP 8. FOS\FacebookBundle\FOSFacebookBundle->build() /home/andy/www/apps/project/app/bootstrap.php.cache:848
$

Which leads to a lot of googling and annoyance. Of all the bundles in my deps file - FOSFacebookBundle is the only one that needs version=AHASH

C'mon - be helpful. You know you want to ;):

$ git branch 2.0 b3bfbfc2898d62ccb3ec697cafe32f374928d49c
$ git checkout 2.0
$ git push origin 2.0