8000 Merge branch '3.4' into 4.2 · symfony/symfony-docs@7af99d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7af99d4

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: Update security_checker.rst removed blank lines after filepath use :: instead of .. code-block:: php
2 parents 0cd91c0 + 858b1a7 commit 7af99d4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

bundles/best_practices.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,8 @@ following standardized instructions in your ``README.md`` file.
362362
~~~~~~~~~~~~~~~~~~~~~~~~~
363363
364364
Then, enable the bundle by adding it to the list of registered bundles
365-
in the ``app/AppKernel.php`` file of your project:
365+
in the ``app/AppKernel.php`` file of your project::
366366
367-
.. code-block:: php
368-
369-
<?php
370367
// app/AppKernel.php
371368
372369
// ...

security/security_checker.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ First, install the security checker in your project:
1313

1414
.. code-block:: terminal
1515
16-
$ composer require sensiolabs/security-checker
16+
# require at least the 5.0 version of the package because older versions
17+
# checked the security vulnerabilities using an URL that is no longer available
18+
$ composer require sensiolabs/security-checker:^5.0
1719
1820
Then run this command:
1921

0 commit comments

Comments
 (0)
0