Skip to content

Commit fb76821

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Validator] Remove a no longer needed caution feat: add warning for number constraints with PHP 7.x Document Symfony CLI `--no-workers` option Fix wrong URL for Twig Environment
2 parents d517b34 + 658acef commit fb76821

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

setup/symfony_server.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ There are several options that you can set using a ``.symfony.local.yaml`` confi
327327
no_tls: true # Use HTTP instead of HTTPS
328328
daemon: true # Run the server in the background
329329
use_gzip: true # Toggle GZIP compression
330+
no_workers: true # Do not start workers
330331
331332
.. caution::
332333

@@ -364,6 +365,11 @@ If you like some processes to start automatically, along with the webserver
364365
# auto start Docker compose when starting server (available since Symfony CLI 5.7.0)
365366
docker_compose: ~
366367
368+
.. tip::
369+
370+
You may want to not start workers on some environments like CI. You can use the
371+
``--no-workers`` option to start the server without starting workers.
372+
367373
.. _symfony-server-docker:
368374

369375
Docker Integration

templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ for this class and :doc:`tag your service </service_container/tags>` with ``twig
16391639
.. _`snake case`: https://en.wikipedia.org/wiki/Snake_case
16401640
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
16411641
.. _`Twig block tag`: https://twig.symfony.com/doc/3.x/tags/block.html
1642-
.. _`Twig Environment`: https://github.com/twigphp/Twig/blob/3.x/src/Loader/FilesystemLoader.php
1642+
.. _`Twig Environment`: https://github.com/twigphp/Twig/blob/3.x/src/Environment.php
16431643
.. _`Twig Extensions`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
16441644
.. _`Twig output escaping docs`: https://twig.symfony.com/doc/3.x/api.html#escaper-extension
16451645
.. _`Twig raw filter`: https://twig.symfony.com/doc/3.x/filters/raw.html

0 commit comments

Comments
 (0)