Skip to content

Commit 180886c

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Enable argument_variable_must_match_type doctor-rst rule
2 parents ecbaaa0 + 50a587d commit 180886c

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.doctor-rst.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
rules:
22
american_english: ~
3+
argument_variable_must_match_type:
4+
arguments:
5+
- { type: 'ContainerBuilder', name: 'containerBuilder' }
6+
- { type: 'ContainerConfigurator', name: 'containerConfigurator' }
37
avoid_repetetive_words: ~
48
blank_line_after_anchor: ~
59
blank_line_after_directive: ~
@@ -96,6 +100,5 @@ whitelist:
96100
- '.. versionadded:: 3.6' # MonologBundle
97101
- '// bin/console'
98102
- 'End to End Tests (E2E)'
99-
- '.. code-block:: php'
100103
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
101104
- '.. End to End Tests (E2E)'

components/uid.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ configure the behavior of the factory using configuration files::
118118
119119
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
120120
121-
return static function (ContainerConfigurator $configurator): void {
121+
return static function (ContainerConfigurator $containerConfigurator): void {
122122
$services = $configurator->services()
123123
->defaults()
124124
->autowire()

security/entry_point.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ You can configure this using the ``entry_point`` setting:
6060
.. code-block:: php
6161
6262
// config/packages/security.php
63-
use Symfony\Config\SecurityConfig;
6463
use App\Security\SocialConnectAuthenticator;
64+
use Symfony\Config\SecurityConfig;
6565
6666
return static function (SecurityConfig $security) {
6767
$security->enableAuthenticatorManager(true);

serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ configuration:
146146
.. code-block:: php
147147
148148
// config/packages/framework.php
149-
use Symfony\Config\FrameworkConfig;
150149
use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
150+
use Symfony\Config\FrameworkConfig;
151151
152152
return static function (FrameworkConfig $framework) {
153153
$framework->serializer()

templating/global_variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ the ``@`` character, which is the usual syntax to
9999
.. code-block:: php
100100
101101
// config/packages/twig.php
102-
use Symfony\Config\TwigConfig;
103102
use function Symfony\Component\DependencyInjection\Loader\Configurator\service;
103+
use Symfony\Config\TwigConfig;
104104
105105
return static function (TwigConfig $twig) {
106106
// ...

0 commit comments

Comments
 (0)