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

Appearance settings

Commit 5ea3a82

Browse filesBrowse files
alamiraultOskarStark
authored andcommitted
Enable argument_variable_must_match_type doctor-rst rule
1 parent b98b45c commit 5ea3a82
Copy full SHA for 5ea3a82

File tree

Expand file treeCollapse file tree

5 files changed

+8
-5
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+8
-5
lines changed

‎.doctor-rst.yaml

Copy file name to clipboardExpand all lines: .doctor-rst.yaml
+4-1Lines 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

Copy file name to clipboardExpand all lines: components/uid.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ configure the behavior of the factory using configuration files::
132132
133133
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
134134
135-
return static function (ContainerConfigurator $configurator): void {
135+
return static function (ContainerConfigurator $containerConfigurator): void {
136136
$services = $configurator->services()
137137
->defaults()
138138
->autowire()

‎security/entry_point.rst

Copy file name to clipboardExpand all lines: security/entry_point.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ You can configure this using the ``entry_point`` setting:
6161
.. code-block:: php
6262
6363
// config/packages/security.php
64-
use Symfony\Config\SecurityConfig;
6564
use App\Security\SocialConnectAuthenticator;
65+
use Symfony\Config\SecurityConfig;
6666
6767
return static function (SecurityConfig $security) {
6868
$security->enableAuthenticatorManager(true);

‎serializer.rst

Copy file name to clipboardExpand all lines: serializer.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ configuration:
156156
.. code-block:: php
157157
158158
// config/packages/framework.php
159-
use Symfony\Config\FrameworkConfig;
160159
use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
160+
use Symfony\Config\FrameworkConfig;
161161
162162
return static function (FrameworkConfig $framework) {
163163
$framework->serializer()

‎templating/global_variables.rst

Copy file name to clipboardExpand all lines: templating/global_variables.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.