Skip to content

Commit c05ec4a

Browse files
committed
Update DOCtor-RST and enable new rules
- Require DOCtor-RST 1.74.0 - Enable NoNonBreakingSpace rule - Enable NoEmptyDirective rule - Enable FilepathAndNamespaceShouldMatch rule (configured for src/ and tests/)
1 parent 840aa55 commit c05ec4a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.doctor-rst.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ rules:
2020
ensure_link_definition_contains_valid_url: ~
2121
ensure_order_of_code_blocks_in_configuration_block: ~
2222
ensure_php_reference_syntax: ~
23+
filepath_and_namespace_should_match:
24+
prefixes: ['src', 'tests']
25+
2326
extend_abstract_controller: ~
2427
# extension_xlf_instead_of_xliff: ~
2528
forbidden_directives:
@@ -43,12 +46,14 @@ rules:
4346
no_composer_req: ~
4447
no_directive_after_shorthand: ~
4548
no_duplicate_use_statements: ~
49+
no_empty_directive: ~
4650
no_empty_literals: ~
4751
no_explicit_use_of_code_block_php: ~
4852
no_footnotes: ~
4953
no_inheritdoc: ~
5054
no_merge_conflict: ~
5155
no_namespace_after_use_statements: ~
56+
no_non_breaking_space: ~
5257
no_php_open_tag_in_code_block_php_directive: ~
5358
no_space_before_self_xml_closing_tag: ~
5459
no_typographic_quotes: ~

0 commit comments

Comments
 (0)