Skip to content

Clarify the code flow a little bit more #20909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 7.3
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/runtime.rst
Original file line number Diff line number Diff line change
@@ -36,6 +36,8 @@ So how does this front-controller work? At first, the special
the component. This file runs the following logic:

#. It instantiates a :class:`Symfony\\Component\\Runtime\\RuntimeInterface`;
#. The runtime includes the front-controller script -- in this case
``public/index.php`` -- making it run again. Make sure this doesn't cause problems.
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
is to resolve the arguments (in this example: ``array $context``);
#. Then, this callable is called to get the application (``App\Kernel``);

Unchanged files with check annotations Beta

<input
name="{{ field_name(form.username) }}"
id="{{ field_id(form.username) }}"

Check failure on line 120 in form/form_customization.rst

GitHub Actions / Code Blocks

[Twig] Unknown "field_id" function.
value="{{ field_value(form.username) }}"
placeholder="{{ field_label(form.username) }}"
class="form-control"
format: 'zstandard'
# if you don't define the following option, AssetMapper will compress all
# the extensions considered safe (css, js, json, svg, xml, ttf, otf, wasm, etc.)
extensions: ['css', 'js', 'json', 'svg', 'xml']

Check failure on line 754 in frontend/asset_mapper.rst

GitHub Actions / Code Blocks

[Cache Warmup] In ArrayNode.php line 304: Unrecognized option "precompress" under "framework.asset_mapper". Available options are "enabled", "exclude_dotfiles", "excluded_patterns", "extension s", "importmap_path", "importmap_polyfill", "importmap_script_attributes", "missing_import_mode", "paths", "public_prefix", "server", "vendor_dir".
Now, when running the ``asset-map:compile`` command, all matching files will be
compressed in the configured format and at the highest compression level. The
.. code-block:: caddy
file_server {
precompressed br zstd gzip

Check failure on line 769 in frontend/asset_mapper.rst

GitHub Actions / Code Blocks

[PHP syntax] Syntax error, unexpected T_STRING
}
.. code-block:: nginx
.. code-block:: twig
{{ is_granted_for_user(user, attribute, subject = null) }}

Check failure on line 211 in reference/twig_reference.rst

GitHub Actions / Code Blocks

[Twig] Unknown "is_granted_for_user" function.
``user``
**type**: ``object``
.. code-block:: html+twig
{% if is_granted_for_user(user, 'ROLE_ADMIN') %}

Check failure on line 2554 in security.rst

GitHub Actions / Code Blocks

[Twig] Unknown "is_granted_for_user" function.
<a href="...">Delete</a>
{% endif %}
smime_signer:
key: '%kernel.project_dir%/var/certificates/smime.key'
certificate: '%kernel.project_dir%/var/certificates/smime.crt'
passphrase: ''

Check failure on line 1414 in mailer.rst

GitHub Actions / Code Blocks

[Cache Warmup] In ArrayNode.php line 304: Unrecognized options "dkim_signer, smime_signer" under "framework.mailer". Available options are "dsn", "enabled", "envelope", "headers", "message_bus ", "transports".
.. code-block:: xml
->certificate('%kernel.project_dir%/var/certificates/smime.crt')
->passphrase('')
;
};

Check failure on line 1462 in mailer.rst

GitHub Actions / Code Blocks

[Cache Warmup] 2025-04-22T07:09:18+00:00 [critical] Uncaught Error: Call to undefined method Symfony\Config\Framework\MailerConfig::dkimSigner()
.. versionadded:: 7.3
framework:
mailer:
smime_encrypter:
certificate: '%kernel.project_dir%/var/certificates/smime.crt'

Check failure on line 1523 in mailer.rst

GitHub Actions / Code Blocks

[Cache Warmup] In ArrayNode.php line 304: Unrecognized option "smime_encrypter" under "framework.mailer". Available o ptions are "dsn", "enabled", "envelope", "headers", "message_bus", "transpo rts".
.. code-block:: xml
$mailer->smimeEncrypter()
->certificate('%kernel.project_dir%/var/certificates/smime.crt')
;
};

Check failure on line 1556 in mailer.rst

GitHub Actions / Code Blocks

[Cache Warmup] 2025-04-22T07:09:20+00:00 [critical] Uncaught Error: Call to undefined method Symfony\Config\Framework\MailerConfig::smimeEncrypter()
.. versionadded:: 7.3
stop_worker_on_signals:
- SIGTERM
- SIGINT
- SIGUSR1

Check failure on line 864 in messenger.rst

GitHub Actions / Code Blocks

[Cache Warmup] In IntegerNode.php line 26: Invalid type for path "framework.messenger.stop_worker_on_signals.0". Expec ted "int", but got "string".
.. code-block:: xml