Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix syntax errors/warnings in 6.4#21614

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
OskarStark merged 1 commit intosymfony:6.4fromwouterj:fix-build-errors-64
Nov 29, 2025
Merged
Show file tree
Hide file tree
Changes fromall 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
9 changes: 9 additions & 0 deletionscomponents/index.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
The Components
==============

.. toctree::
:maxdepth: 1
:glob:

using_components
*
42 changes: 21 additions & 21 deletionsconfiguration/env_var_processors.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -675,20 +675,20 @@ Symfony provides the following env var processors:

.. code-block:: php

// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;

return function(ContainerConfigurator $container): void {
// ...
return function(ContainerConfigurator $container): void {
// ...

$services->set(SomeService::class)
->arg('$host', '%env(string:key:host:url:DATABASE_URL)%')
->arg('$port', '%env(int:key:port:url:DATABASE_URL)%')
->arg('$username', '%env(string:key:user:url:DATABASE_URL)%')
->arg('$password', '%env(string:key:pass:url:DATABASE_URL)%')
->arg('$database_name', '%env(key:path:url:DATABASE_URL)%')
;
};
$services->set(SomeService::class)
->arg('$host', '%env(string:key:host:url:DATABASE_URL)%')
->arg('$port', '%env(int:key:port:url:DATABASE_URL)%')
->arg('$username', '%env(string:key:user:url:DATABASE_URL)%')
->arg('$password', '%env(string:key:pass:url:DATABASE_URL)%')
->arg('$database_name', '%env(key:path:url:DATABASE_URL)%')
;
};

.. warning::

Expand DownExpand Up@@ -738,17 +738,17 @@ Symfony provides the following env var processors:

.. code-block:: php

// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;

return function(ContainerConfigurator $container): void {
// ...
return function(ContainerConfigurator $container): void {
// ...

$services->set(SomeService::class)
->arg('$serverVersion', '%env(string:key:serverVersion:query_string:DATABASE_URL)%')
->arg('$charset', '%env(int:string:charset:query_string:DATABASE_URL)%')
;
};
$services->set(SomeService::class)
->arg('$serverVersion', '%env(string:key:serverVersion:query_string:DATABASE_URL)%')
->arg('$charset', '%env(int:string:charset:query_string:DATABASE_URL)%')
;
};

``env(enum:FooEnum:BAR)``
Tries to convert an environment variable to an actual ``\BackedEnum`` value.
Expand Down
2 changes: 1 addition & 1 deletioncontributing/core_team.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -231,7 +231,7 @@ following these rules:
* **Feature**: For new features and deprecations; Pull requests must be merged
in the development branch.
* **Bug**: Only for bug fixes; We are very conservative when it comes to
merging older, but still maintained, branches. Read the :doc:`maintenance`
merging older, but still maintained, branches. Read the :doc:`/contributing/code/maintenance`
Copy link
MemberAuthor

@wouterjwouterjNov 29, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@OskarStark this might be an interesting one for DOCtor when you have time: we want all doc references to be absolute paths, so the links don't break when moving documents/sections. This has been a rule since forever, but every once in a while one relative path slips in :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

OK, I created an issue for DOCtor

wouterj reacted with heart emoji
document for more information.
* **Minor**: For everything that does not change the code or when they don't
need to be listed in the CHANGELOG files: typos, Markdown files, test files,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp