Skip to content

Commit ee0e6e6

Browse files
committed
Minor tweaks
1 parent fd0e000 commit ee0e6e6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doctrine.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ The database connection information is stored as an environment variable called
5050
.. caution::
5151

5252
If the username, password, host or database name contain any character considered
53-
special in a URI (such as ``!``, ``@``, ``$``, ``#``, ``/``), you must encode them.
54-
See `RFC 3986`_ for the full list of reserved characters or use the
55-
:phpfunction:`urlencode` function to encode them. In this case you need to remove
56-
the ``resolve:`` prefix in ``config/packages/doctrine.yaml`` to avoid errors:
53+
special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``),
54+
you must encode them. See `RFC 3986`_ for the full list of reserved characters or
55+
use the :phpfunction:`urlencode` function to encode them. In this case you need to
56+
remove the ``resolve:`` prefix in ``config/packages/doctrine.yaml`` to avoid errors:
5757
``url: '%env(resolve:DATABASE_URL)%'``
5858

5959
Now that your connection parameters are setup, Doctrine can create the ``db_name``
@@ -341,7 +341,7 @@ and save it!
341341
342342
// ...
343343
use Symfony\Component\HttpFoundation\Response;
344-
344+
345345
use App\Entity\Product;
346346
347347
class ProductController extends AbstractController

email.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,4 @@ Learn more
176176
.. _`Amazon SES`: http://aws.amazon.com/ses/
177177
.. _`generate an App password`: https://support.google.com/accounts/answer/185833
178178
.. _`allow less secure apps to access your Gmail account`: https://support.google.com/accounts/answer/6010255
179+
.. _`RFC 3986`: https://www.ietf.org/rfc/rfc3986.txt

0 commit comments

Comments
 (0)