From 396302b3185aa8afe506fecab8633ee377a778f6 Mon Sep 17 00:00:00 2001 From: Diego Gullo Date: Sat, 6 Jun 2015 12:59:48 +0100 Subject: [PATCH 1/5] Added description on how to enable the security:check command through composer --- book/security.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/book/security.rst b/book/security.rst index 2f3ed0f30a6..bf67ee07743 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1352,6 +1352,13 @@ FriendsOfPHP organization. any of your dependencies is affected by a known security vulnerability. Therefore, you can easily integrate it in your build process. + To enable the ``security:check`` command, you need to add the + `sensio distribution bundle`_ in your composer dependencies. + +.. code-block:: bash + + $ composer require 'sensio/distribution-bundle:~3' + Final Words ----------- @@ -1381,3 +1388,4 @@ Learn More from the Cookbook .. _`online tool`: https://www.dailycred.com/blog/12/bcrypt-calculator .. _`frameworkextrabundle documentation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html .. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories +.. _`sensio distribution bundle`: https://packagist.org/packages/sensio/distribution-bundle From 5aa7044df77f645c4ec64d585299eb65bc1d7ed5 Mon Sep 17 00:00:00 2001 From: Diego Gullo Date: Sun, 7 Jun 2015 15:03:52 +0100 Subject: [PATCH 2/5] Improved security:check command description --- book/security.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/book/security.rst b/book/security.rst index bf67ee07743..d84fac51825 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1352,12 +1352,14 @@ FriendsOfPHP organization. any of your dependencies is affected by a known security vulnerability. Therefore, you can easily integrate it in your build process. +.. note:: + To enable the ``security:check`` command, you need to add the `sensio distribution bundle`_ in your composer dependencies. .. code-block:: bash - $ composer require 'sensio/distribution-bundle:~3' + $ composer require 'sensio/distribution-bundle' Final Words ----------- From aa0dff43591d6f3ede5557a7e0f67595df910fe5 Mon Sep 17 00:00:00 2001 From: Diego Gullo Date: Sun, 7 Jun 2015 18:33:54 +0100 Subject: [PATCH 3/5] Indented code block in security:check command description --- book/security.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/security.rst b/book/security.rst index d84fac51825..aa86bec3af9 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1357,9 +1357,9 @@ FriendsOfPHP organization. To enable the ``security:check`` command, you need to add the `sensio distribution bundle`_ in your composer dependencies. -.. code-block:: bash + .. code-block:: bash - $ composer require 'sensio/distribution-bundle' + $ composer require 'sensio/distribution-bundle' Final Words ----------- From 5c872f26bc89d722bea29fe7c6b52e8a526e27e6 Mon Sep 17 00:00:00 2001 From: Diego Gullo Date: Wed, 10 Jun 2015 19:31:40 +0100 Subject: [PATCH 4/5] Bundle name case change --- book/security.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/security.rst b/book/security.rst index aa86bec3af9..1ef235cc361 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1355,7 +1355,7 @@ FriendsOfPHP organization. .. note:: To enable the ``security:check`` command, you need to add the - `sensio distribution bundle`_ in your composer dependencies. + `SensioDistributionBundle`_ in your composer dependencies. .. code-block:: bash @@ -1390,4 +1390,4 @@ Learn More from the Cookbook .. _`online tool`: https://www.dailycred.com/blog/12/bcrypt-calculator .. _`frameworkextrabundle documentation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html .. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories -.. _`sensio distribution bundle`: https://packagist.org/packages/sensio/distribution-bundle +.. _`SensioDistributionBundle`: https://packagist.org/packages/sensio/distribution-bundle From f5774d21874d42764e32fa58844caea031e61e46 Mon Sep 17 00:00:00 2001 From: Diego Gullo Date: Sun, 18 Oct 2015 21:41:20 +0100 Subject: [PATCH 5/5] Changed 'in' to 'to' and removed 'composer' --- book/security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/security.rst b/book/security.rst index 2f568aadadd..a9b075ee0a3 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1381,7 +1381,7 @@ FriendsOfPHP organization. .. note:: To enable the ``security:check`` command, you need to add the - `SensioDistributionBundle`_ in your composer dependencies. + `SensioDistributionBundle`_ to your dependencies. .. code-block:: bash