1
+ rules :
2
+ american_english : ~
3
+ avoid_repetetive_words : ~
4
+ blank_line_after_anchor : ~
5
+ blank_line_after_directive : ~
6
+ blank_line_before_directive : ~
7
+ composer_dev_option_not_at_the_end : ~
8
+ correct_code_block_directive_based_on_the_content : ~
9
+ deprecated_directive_should_have_version : ~
10
+ ensure_bash_prompt_before_composer_command : ~
11
+ ensure_correct_format_for_phpfunction : ~
12
+ ensure_exactly_one_space_before_directive_type : ~
13
+ ensure_exactly_one_space_between_link_definition_and_link : ~
14
+ ensure_explicit_nullable_types : ~
15
+ ensure_github_directive_start_with_prefix :
16
+ prefix : ' Symfony'
17
+ ensure_link_bottom : ~
18
+ ensure_link_definition_contains_valid_url : ~
19
+ ensure_order_of_code_blocks_in_configuration_block : ~
20
+ ensure_php_reference_syntax : ~
21
+ extend_abstract_controller : ~
22
+ # extension_xlf_instead_of_xliff: ~
23
+ forbidden_directives :
24
+ directives :
25
+ - ' .. index::'
26
+ indention : ~
27
+ lowercase_as_in_use_statements : ~
28
+ max_blank_lines :
29
+ max : 2
30
+ max_colons : ~
31
+ no_app_console : ~
32
+ no_attribute_redundant_parenthesis : ~
33
+ no_blank_line_after_filepath_in_php_code_block : ~
34
+ no_blank_line_after_filepath_in_twig_code_block : ~
35
+ no_blank_line_after_filepath_in_xml_code_block : ~
36
+ no_blank_line_after_filepath_in_yaml_code_block : ~
37
+ no_brackets_in_method_directive : ~
38
+ no_composer_req : ~
39
+ no_directive_after_shorthand : ~
40
+ no_duplicate_use_statements : ~
41
+ no_explicit_use_of_code_block_php : ~
42
+ no_footnotes : ~
43
+ no_inheritdoc : ~
44
+ no_merge_conflict : ~
45
+ no_namespace_after_use_statements : ~
46
+ no_php_open_tag_in_code_block_php_directive : ~
47
+ no_space_before_self_xml_closing_tag : ~
48
+ only_backslashes_in_namespace_in_php_code_block : ~
49
+ only_backslashes_in_use_statements_in_php_code_block : ~
50
+ ordered_use_statements : ~
51
+ php_prefix_before_bin_console : ~
52
+ remove_trailing_whitespace : ~
53
+ replace_code_block_types : ~
54
+ replacement : ~
55
+ short_array_syntax : ~
56
+ space_between_label_and_link_in_doc : ~
57
+ space_between_label_and_link_in_ref : ~
58
+ string_replacement : ~
59
+ title_underline_length_must_match_title_length : ~
60
+ typo : ~
61
+ unused_links : ~
62
+ use_deprecated_directive_instead_of_versionadded : ~
63
+ use_named_constructor_without_new_keyword_rule : ~
64
+ use_https_xsd_urls : ~
65
+ valid_inline_highlighted_namespaces : ~
66
+ valid_use_statements : ~
67
+ versionadded_directive_should_have_version : ~
68
+ yaml_instead_of_yml_suffix : ~
69
+
70
+ # master
71
+ versionadded_directive_major_version :
72
+ major_version : 7
73
+
74
+ versionadded_directive_min_version :
75
+ min_version : ' 7.0'
76
+
77
+ deprecated_directive_major_version :
78
+ major_version : 7
79
+
80
+ deprecated_directive_min_version :
81
+ min_version : ' 7.0'
82
+
83
+ exclude_rule_for_file :
84
+ - path : configuration/multiple_kernels.rst
85
+ rule_name : replacement
86
+ - path : page_creation.rst
87
+ rule_name : no_php_open_tag_in_code_block_php_directive
88
+ - path : frontend/create_ux_bundle.rst
89
+ rule_name : argument_variable_must_match_type
90
+
91
+ # do not report as violation
92
+ whitelist :
93
+ regex :
94
+ - ' /``.yml``/'
95
+ - ' /(.*)\.orm\.yml/' # currently DoctrineBundle only supports .yml
96
+ lines :
97
+ - ' in config files, so the old ``app/config/config_dev.yml`` goes to'
98
+ - ' #. The most important config file is ``app/config/services.yml``, which now is'
99
+ - ' The bin/console Command'
100
+ - ' .. _`LDAP injection`: http://projects.webappsec.org/w/page/13246947/LDAP%20Injection'
101
+ - ' .. versionadded:: 2.7.2' # Doctrine
102
+ - ' .. versionadded:: 1.9.0' # Encore
103
+ - ' .. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst
104
+ - ' .. versionadded:: 1.0.0' # Encore
105
+ - ' .. versionadded:: 2.7.1' # Doctrine
106
+ - ' 123,' # assertion for var_dumper - components/var_dumper.rst
107
+ - ' "foo",' # assertion for var_dumper - components/var_dumper.rst
108
+ - ' $var .= "Because of this `\xE9` octet (\\xE9),\n";'
109
+ - ' .. versionadded:: 0.2' # MercureBundle
110
+ - ' .. versionadded:: 3.6' # MonologBundle
111
+ - ' .. versionadded:: 3.8' # MonologBundle
112
+ - ' .. versionadded:: 3.5' # Monolog
113
+ - ' .. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
114
+ - ' End to End Tests (E2E)'
0 commit comments