minor #25680 [FrameworkBundle] Fix recommended composer command (add vendor) (Tomas Kmieliauskas)

This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #25680).

Discussion
----------

[FrameworkBundle] Fix recommended composer command (add vendor)

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Since running composer commands is time heavy, having a wrong one recommended to you just burns your time.

Commits
-------

f6d38b3770 [FrameworkBundle] Fix recommended composer command (add vendor)
This commit is contained in:
Fabien Potencier 2018-01-04 14:08:31 +01:00
commit ec691b6182

View File

@ -1418,7 +1418,7 @@ class FrameworkExtension extends Extension
}
if (!class_exists('Symfony\Component\Security\Csrf\CsrfToken')) {
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require security-csrf".');
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require symfony/security-csrf".');
}
if (!$this->sessionConfigEnabled) {