If you really want to test against symfony 2.2, you should require ``symfony/symfony: 2.2.*``. Otherwise, you will receive FrameworkBundle and SecurityBundle, but 2.3 for components.