Skip to content

Conversation

alamirault
Copy link
Collaborator

@alamirault alamirault commented Jun 2, 2025

Follow symfony/symfony-docs#21033 (comment)

What do you think of the following report ? Is it correct ?

(I will fix phpstan later)

root@7a113d89c4db:/app# php bin/doctor-rst analyse yolo --short --no-cache
 Analyze *.rst(.inc) files in: /app/yolo
 Used config file:             /app/yolo/.doctor-rst.yaml

service_container/import.rst ✘
  161: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: yaml
  238: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: yaml

configuration/secrets.rst ✘
  263: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal
  272: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal

setup/upgrade_major.rst ✘
  327: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: terminal
  349: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: terminal

setup/flex.rst ✘
   41: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal
   49: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal
   57: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: diff
   73: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal
   85: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal

translation.rst ✘
 1050: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: yaml
 1058: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: xml
 1078: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: php

contributing/code/standards.rst ✘
  183: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: diff
  193: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: diff

contributing/documentation/standards.rst ✘
  141: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: text

contributing/community/reviews.rst ✘
  170: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal
  178: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: terminal

security.rst ✘
 1173: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: json
 1185: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: json

deployment/proxies.rst ✘
  149: Please indent code block with multiple of 4 spaces, or zero. Actually 3 space(s)
   ->  .. code-block:: yaml

reference/formats/yaml.rst ✘
  322: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: yaml
  331: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: yaml
  339: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: yaml
  350: Please indent code block with multiple of 4 spaces, or zero. Actually 2 space(s)
   ->  .. code-block:: yaml

frontend/encore/vuejs.rst ✘
  203: Please indent code block with multiple of 4 spaces, or zero. Actually 1 space(s)
   ->  .. code-block:: twig

frontend/create_ux_bundle.rst ✘
   78: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: json
   98: Please indent code block with multiple of 4 spaces, or zero. Actually 7 space(s)
   ->  .. code-block:: javascript

                                                                                                                        
 [WARNING] Found "13" invalid files!                                                                                    
                                                                                                                        ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant