Skip to content

Commit eff0aee

Browse files
committed
minor #16356 Update Checking Security Vulnerabilities doc part (94noni)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Update Checking Security Vulnerabilities doc part Friendly ping `@fabpot` Ref symfony-cli/symfony-cli#9 Commits ------- 2a9d69c Update Checking Security Vulnerabilities doc part
2 parents 9070519 + 2a9d69c commit eff0aee

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

setup.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,11 @@ require --no-unpack ...`` option to disable unpacking.
224224
Checking Security Vulnerabilities
225225
---------------------------------
226226

227-
The ``symfony`` binary created when you `install Symfony CLI`_ provides a command to
228-
check whether your project's dependencies contain any known security
229-
vulnerability:
227+
A good and recommended security practice is to check from time to time whether your
228+
project's dependencies contain any known security vulnerability. You can leverage the
229+
`Local PHP Security Checker`_ to do so.
230230

231-
.. code-block:: terminal
232-
233-
$ symfony check:security
234-
235-
A good security practice is to execute this command regularly to be able to
231+
You can also execute this process regularly to be able to
236232
update or replace compromised dependencies as soon as possible. The security
237233
check is done locally by fetching the public `PHP security advisories database`_,
238234
so your ``composer.lock`` file is not sent on the network.
@@ -313,6 +309,7 @@ Learn More
313309
.. _`The Symfony Demo Application`: https://github.com/symfony/demo
314310
.. _`Symfony Flex`: https://github.com/symfony/flex
315311
.. _`PHP security advisories database`: https://github.com/FriendsOfPHP/security-advisories
312+
.. _`Local PHP Security Checker`: https://github.com/fabpot/local-php-security-checker
316313
.. _`Symfony releases`: https://symfony.com/releases
317314
.. _`Main recipe repository`: https://github.com/symfony/recipes
318315
.. _`Contrib recipe repository`: https://github.com/symfony/recipes-contrib

0 commit comments

Comments
 (0)