Skip to content

Commit 25feb90

Browse files
committed
minor #19790 Use DOCtor-RST 1.60.1 (OskarStark)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Use DOCtor-RST 1.60.1 cc `@alamirault` `@smnandre` Commits ------- 826c021 Use DOCtor-RST 1.60.1
2 parents 0f6b6eb + 826c021 commit 25feb90

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.doctor-rst.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ rules:
1515
ensure_correct_format_for_phpfunction: ~
1616
ensure_exactly_one_space_before_directive_type: ~
1717
ensure_exactly_one_space_between_link_definition_and_link: ~
18+
ensure_explicit_nullable_types: ~
1819
ensure_github_directive_start_with_prefix:
1920
prefix: 'Symfony'
2021
ensure_link_bottom: ~

.github/workflows/ci.yaml

+1-1
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.59.0
76+
uses: docker://oskarstark/doctor-rst:1.60.1
7777
with:
7878
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7979

validation/custom_constraint.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ define those options as public properties on the constraint class:
320320
321321
public function __construct(
322322
$mandatoryFooOption,
323-
string $message = null,
324-
bool $optionalBarOption = null,
325-
array $groups = null,
323+
?string $message = null,
324+
?bool $optionalBarOption = null,
325+
?array $groups = null,
326326
$payload = null,
327327
array $options = []
328328
) {

0 commit comments

Comments
 (0)