Skip to content

Commit 4552712

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: Fix syntax errors/warnings in 6.4
2 parents b7bcbff + 3f6a403 commit 4552712

File tree

3 files changed

+31
-22
lines changed

3 files changed

+31
-22
lines changed

components/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The Components
2+
==============
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
:glob:
7+
8+
using_components
9+
*

configuration/env_var_processors.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -671,20 +671,20 @@ Symfony provides the following env var processors:
671671
672672
.. code-block:: php
673673
674-
// config/services.php
675-
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
674+
// config/services.php
675+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
676676
677-
return function(ContainerConfigurator $container): void {
678-
// ...
677+
return function(ContainerConfigurator $container): void {
678+
// ...
679679
680-
$services->set(SomeService::class)
681-
->arg('$host', '%env(string:key:host:url:DATABASE_URL)%')
682-
->arg('$port', '%env(int:key:port:url:DATABASE_URL)%')
683-
->arg('$username', '%env(string:key:user:url:DATABASE_URL)%')
684-
->arg('$password', '%env(string:key:pass:url:DATABASE_URL)%')
685-
->arg('$database_name', '%env(key:path:url:DATABASE_URL)%')
686-
;
687-
};
680+
$services->set(SomeService::class)
681+
->arg('$host', '%env(string:key:host:url:DATABASE_URL)%')
682+
->arg('$port', '%env(int:key:port:url:DATABASE_URL)%')
683+
->arg('$username', '%env(string:key:user:url:DATABASE_URL)%')
684+
->arg('$password', '%env(string:key:pass:url:DATABASE_URL)%')
685+
->arg('$database_name', '%env(key:path:url:DATABASE_URL)%')
686+
;
687+
};
688688
689689
.. warning::
690690

@@ -734,17 +734,17 @@ Symfony provides the following env var processors:
734734
735735
.. code-block:: php
736736
737-
// config/services.php
738-
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
737+
// config/services.php
738+
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
739739
740-
return function(ContainerConfigurator $container): void {
741-
// ...
740+
return function(ContainerConfigurator $container): void {
741+
// ...
742742
743-
$services->set(SomeService::class)
744-
->arg('$serverVersion', '%env(string:key:serverVersion:query_string:DATABASE_URL)%')
745-
->arg('$charset', '%env(int:string:charset:query_string:DATABASE_URL)%')
746-
;
747-
};
743+
$services->set(SomeService::class)
744+
->arg('$serverVersion', '%env(string:key:serverVersion:query_string:DATABASE_URL)%')
745+
->arg('$charset', '%env(int:string:charset:query_string:DATABASE_URL)%')
746+
;
747+
};
748748
749749
``env(enum:FooEnum:BAR)``
750750
Tries to convert an environment variable to an actual ``\BackedEnum`` value.

contributing/core_team.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ following these rules:
231231
* **Feature**: For new features and deprecations; Pull requests must be merged
232232
in the development branch.
233233
* **Bug**: Only for bug fixes; We are very conservative when it comes to
234-
merging older, but still maintained, branches. Read the :doc:`maintenance`
234+
merging older, but still maintained, branches. Read the :doc:`/contributing/code/maintenance`
235235
document for more information.
236236
* **Minor**: For everything that does not change the code or when they don't
237237
need to be listed in the CHANGELOG files: typos, Markdown files, test files,

0 commit comments

Comments
 (0)