Skip to content

Commit e491968

Browse files
committed
Clean doctor-rst whitelist configuration
1 parent 362f027 commit e491968

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.doctor-rst.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,19 @@ whitelist:
7474
lines:
7575
- 'in config files, so the old ``app/config/config_dev.yml`` goes to'
7676
- '#. The most important config file is ``app/config/services.yml``, which now is'
77-
- 'code in production without a proxy, it becomes trivially easy to abuse your'
78-
- '.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle'
7977
- 'The bin/console Command'
8078
- '.. _`LDAP injection`: http://projects.webappsec.org/w/page/13246947/LDAP%20Injection'
8179
- '.. versionadded:: 1.9.0' # Encore
82-
- '.. versionadded:: 0.28.4' # Encore
8380
- '.. versionadded:: 1.11' # Messenger (Middleware / DoctrineBundle)
8481
- '.. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst
8582
- '.. versionadded:: 1.0.0' # Encore
8683
- '.. versionadded:: 5.1' # Private Services
87-
- '0 => 123' # assertion for var_dumper - components/var_dumper.rst
88-
- '1 => "foo"' # assertion for var_dumper - components/var_dumper.rst
89-
- '123,' # assertion for var_dumper - components/var_dumper.rst
90-
- '"foo",' # assertion for var_dumper - components/var_dumper.rst
9184
- '$var .= "Because of this `\xE9` octet (\\xE9),\n";'
92-
- "// 224, 165, 141, 224, 164, 164, 224, 165, 135])"
9385
- '.. versionadded:: 0.2' # MercureBundle
9486
- 'provides a ``loginUser()`` method to simulate logging in in your functional'
9587
- '.. code-block:: twig'
9688
- '.. versionadded:: 3.6' # MonologBundle
9789
- '// bin/console'
98-
- 'End to End Tests (E2E)'
9990
- '.. code-block:: php'
10091
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
10192
- '.. End to End Tests (E2E)'

components/var_dumper.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,11 @@ Example::
326326
// the expected dump contents don't have the default VarDumper structure
327327
// because of the custom casters and flags used in the test
328328
$expectedDump = <<<EOTXT
329-
[
330-
123,
331-
"foo",
332-
]
333-
EOTXT;
329+
[
330+
123,
331+
"foo",
332+
]
333+
EOTXT;
334334

335335
// if the first argument is a string, it must be the whole expected dump
336336
$this->assertDumpEquals($expectedDump, $testedVar);

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ Logging in Users (Authentication)
675675
When you want to add application tests for protected pages, you have to
676676
first "login" as a user. Reproducing the actual steps - such as
677677
submitting a login form - makes a test very slow. For this reason, Symfony
678-
provides a ``loginUser()`` method to simulate logging in in your functional
678+
provides a ``loginUser()`` method to simulate logging in your functional
679679
tests.
680680

681681
Instead of logging in with real users, it's recommended to create a user

0 commit comments

Comments
 (0)