Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f46d1c9

Browse files
committed
minor #18918 Use Doctor RST 1.51.0 (alamirault)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead. Discussion ---------- Use Doctor RST 1.51.0 With rule to [ensure php reference syntax](OskarStark/doctor-rst#1519 ) Commits ------- f316bdc Use Doctor RST 1.51.0
2 parents b25da32 + f316bdc commit f46d1c9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.doctor-rst.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ rules:
1616
ensure_exactly_one_space_between_link_definition_and_link: ~
1717
ensure_link_definition_contains_valid_url: ~
1818
ensure_order_of_code_blocks_in_configuration_block: ~
19+
ensure_php_reference_syntax: ~
1920
extend_abstract_controller: ~
2021
extension_xlf_instead_of_xliff: ~
2122
forbidden_directives:
@@ -94,7 +95,6 @@ whitelist:
9495
- 'The bin/console Command'
9596
- '.. _`LDAP injection`: http://projects.webappsec.org/w/page/13246947/LDAP%20Injection'
9697
- '.. versionadded:: 1.9.0' # Encore
97-
- '.. versionadded:: 1.11' # Messenger (Middleware / DoctrineBundle)
9898
- '.. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst
9999
- '.. versionadded:: 1.0.0' # Encore
100100
- '.. versionadded:: 5.1' # Private Services

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
7474

7575
- name: "Run DOCtor-RST"
76-
uses: docker://oskarstark/doctor-rst:1.49.0
76+
uses: docker://oskarstark/doctor-rst:1.51.0
7777
with:
7878
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7979

http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ installed in your application::
13581358
// this won't hit the network if the resource is already in the cache
13591359
$response = $client->request('GET', 'https://example.com/cacheable-resource');
13601360

1361-
:class:`Symfony\\Component\\HttpClient\\CachingHttpClient`` accepts a third argument
1361+
:class:`Symfony\\Component\\HttpClient\\CachingHttpClient` accepts a third argument
13621362
to set the options of the :class:`Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache`.
13631363

13641364
Consuming Server-Sent Events

validation/custom_constraint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ A class constraint validator must be applied to the class itself:
622622
Testing Custom Constraints
623623
--------------------------
624624

625-
Use the :class:`Symfony\\Component\\Validator\\Test\\ConstraintValidatorTestCase``
625+
Use the :class:`Symfony\\Component\\Validator\\Test\\ConstraintValidatorTestCase`
626626
class to simplify writing unit tests for your custom constraints::
627627

628628
// tests/Validator/ContainsAlphanumericValidatorTest.php

0 commit comments

Comments
 (0)