-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce DOCtor-RST #613
Merged
Merged
Introduce DOCtor-RST #613
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2ec6b6e
Introduce DOCtor-RST
OskarStark 6ba87b3
Fix: Use https for xsd
OskarStark 1487bd1
Fix: Use short array syntax
OskarStark 6064bc2
Fix: Add space before self closing XML tag
OskarStark f0a38fe
Fix: Remove blank line
OskarStark 4b846ee
Fix: Sort use statements alphabetically
OskarStark e734fec
Fix: use twig instead of jinja
OskarStark c9f5e2c
Fix: Link
OskarStark c5bed93
Fix: use php-annotations
OskarStark 7cd3dad
Fix: Comment
OskarStark 7b5dcf1
Fix: Reformat and fix links
OskarStark 8d78f19
Use html+jinja again
OskarStark 9f96537
Disable rule: no_explicit_use_of_code_block_php
OskarStark 09b1f72
formatting
OskarStark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
on: [push, pull_request] | ||
name: Lint | ||
jobs: | ||
doctor-rst: | ||
name: DOCtor-RST | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: DOCtor-RST | ||
uses: docker://oskarstark/doctor-rst | ||
with: | ||
args: --short | ||
env: | ||
DOCS_DIR: 'Resources/doc/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
rules: | ||
no_inheritdoc: ~ | ||
avoid_repetetive_words: ~ | ||
blank_line_after_directive: ~ | ||
short_array_syntax: ~ | ||
typo: ~ | ||
replacement: ~ | ||
versionadded_directive_should_have_version: ~ | ||
deprecated_directive_should_have_version: ~ | ||
max_blank_lines: | ||
max: 2 | ||
american_english: ~ | ||
valid_use_statements: ~ | ||
no_composer_req: ~ | ||
composer_dev_option_not_at_the_end: ~ | ||
no_php_open_tag_in_code_block_php_directive: ~ | ||
no_blank_line_after_filepath_in_php_code_block: ~ | ||
no_blank_line_after_filepath_in_yaml_code_block: ~ | ||
no_blank_line_after_filepath_in_xml_code_block: ~ | ||
no_blank_line_after_filepath_in_twig_code_block: ~ | ||
php_prefix_before_bin_console: ~ | ||
use_deprecated_directive_instead_of_versionadded: ~ | ||
space_before_self_xml_closing_tag: ~ | ||
ensure_order_of_code_blocks_in_configuration_block: ~ | ||
lowercase_as_in_use_statements: ~ | ||
ordered_use_statements: ~ | ||
no_namespace_after_use_statements: ~ | ||
replace_code_block_types: ~ | ||
use_https_xsd_urls: ~ | ||
blank_line_before_directive: ~ | ||
extension_xlf_instead_of_xliff: ~ | ||
valid_inline_highlighted_namespaces: ~ | ||
indention: ~ | ||
unused_links: ~ | ||
no_app_bundle: ~ | ||
|
||
versionadded_directive_major_version: | ||
major_version: 3 | ||
|
||
versionadded_directive_min_version: | ||
min_version: '3.0' | ||
|
||
deprecated_directive_major_version: | ||
major_version: 3 | ||
|
||
deprecated_directive_min_version: | ||
min_version: '3.0' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After up merging into 4.x this must be change accordingly. Same for
master
, if this will be next 5.0, otherwise not.