Skip to content

Commit 745b06e

Browse files
committed
initial DOCtor-RST setup.
1 parent 3926224 commit 745b06e

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

.doctor-rst.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
rules:
2+
blank_line_after_directive: ~
3+
short_array_syntax: ~
4+
no_app_console: ~
5+
typo: ~
6+
replacement: ~
7+
composer_dev_option_not_at_the_end: ~
8+
yarn_dev_option_at_the_end: ~
9+
versionadded_directive_should_have_version: ~
10+
no_composer_req: ~
11+
no_php_open_tag_in_code_block_php_directive: ~
12+
no_blank_line_after_filepath_in_php_code_block: ~
13+
no_blank_line_after_filepath_in_yaml_code_block: ~
14+
no_blank_line_after_filepath_in_xml_code_block: ~
15+
no_blank_line_after_filepath_in_twig_code_block: ~
16+
php_prefix_before_bin_console: ~
17+
use_deprecated_directive_instead_of_versionadded: ~
18+
no_space_before_self_xml_closing_tag: ~
19+
no_explicit_use_of_code_block_php: ~
20+
ensure_order_of_code_blocks_in_configuration_block: ~
21+
american_english: ~
22+
valid_use_statements: ~
23+
lowercase_as_in_use_statements: ~
24+
ordered_use_statements: ~
25+
no_namespace_after_use_statements: ~
26+
use_https_xsd_urls: ~
27+
28+
# 3.4
29+
versionadded_directive_major_version:
30+
'major_version': 3
31+
32+
versionadded_directive_min_version:
33+
'min_version': '3.0'
34+
35+
# do not report as violation
36+
whitelist:
37+
regex:
38+
- '/FOSUserBundle(.*)\.yml/'
39+
- '/``.yml``/'
40+
- '/(.*)\.orm\.yml/' # currently DoctrineBundle only supports .yml
41+
lines:
42+
- 'in config files, so the old ``app/config/config_dev.yml`` goes to'
43+
- '#. The most important config file is ``app/config/services.yml``, which now is'
44+
- 'code in production without a proxy, it becomes trivially easy to abuse your'
45+
- '.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle'
46+
- 'The bin/console Command'
47+
- '# username is your full Gmail or Google Apps email address'
48+
- '.. _`LDAP injection`: http://projects.webappsec.org/w/page/13246947/LDAP%20Injection'
49+
- '.. versionadded:: 0.21.0' # Encore
50+
- '.. versionadded:: 2.4.0' # SwiftMailer
51+
- '.. versionadded:: 1.26' # Twig
52+
- '.. versionadded:: 1.30' # Twig
53+
- '.. versionadded:: 1.2' # MakerBundle
54+
- '.. versionadded:: 1.11' # MakerBundle
55+
- '.. versionadded:: 1.3' # MakerBundle
56+
- '.. versionadded:: 1.8' # MakerBundle

.github/main.workflow

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
workflow "Test" {
2+
on = "push"
3+
resolves = [
4+
"DOCtor-RST",
5+
]
6+
}
7+
8+
action "DOCtor-RST" {
9+
uses = "docker://oskarstark/doctor-rst"
10+
args = "--short"
11+
}

0 commit comments

Comments
 (0)