Skip to content

Use Doctor RST 1.48.0 #18651

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

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .doctor-rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ rules:
deprecated_directive_min_version:
min_version: '5.0'

exclude_rule_for_file:
- path: configuration/multiple_kernels.rst
rule_name: replacement

# do not report as violation
whitelist:
regex:
Expand All @@ -102,17 +106,3 @@ whitelist:
- '// bin/console'
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
- '.. End to End Tests (E2E)'
- 'First, create a new ``apps`` directory at the root of your project, which will' # configuration/multiple_kernels.rst
- '├─ apps/' # configuration/multiple_kernels.rst
- '``apps/`` directory. Therefore, you should carefully consider what is' # configuration/multiple_kernels.rst
- 'Since the new ``apps/api/src/`` directory will host the PHP code related to the' # configuration/multiple_kernels.rst
- '"Api\\": "apps/api/src/"' # configuration/multiple_kernels.rst
- "return $this->getProjectDir().'/apps/'.$this->id.'/config';" # configuration/multiple_kernels.rst
- '``apps/`` as it is used in the Kernel to load the specific application' # configuration/multiple_kernels.rst
- '``apps/admin/templates/`` which you will need to manually configure under the' # configuration/multiple_kernels.rst
- '# apps/admin/config/packages/twig.yaml' # configuration/multiple_kernels.rst
- "'%kernel.project_dir%/apps/admin/templates': Admin" # configuration/multiple_kernels.rst
- '// apps/api/tests/ApiTestCase.php' # configuration/multiple_kernels.rst
- 'Now, create a ``tests/`` directory inside the ``apps/api/`` application. Then,' # configuration/multiple_kernels.rst
- '"Api\\Tests\\": "apps/api/tests/"' # configuration/multiple_kernels.rst
- '<directory>apps/api/tests</directory>' # configuration/multiple_kernels.rst
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}

- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst:1.47.2
uses: docker://oskarstark/doctor-rst:1.48.0
with:
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

Expand Down