Skip to content

Using lineno-start on code-block directive throws error #684

@brotkrueml

Description

@brotkrueml

Using this code block:

..  code-block:: ruby
    :lineno-start: 10

    Some more Ruby code, with line numbering starting at 10.

The following warning is triggered:

/opt/project/vendor/phpdocumentor/guides-restructured-text/src/RestructuredText/Directives/CodeBlockDirective.php:87
Object of class phpDocumentor\Guides\RestructuredText\Parser\DirectiveOption could not be converted to int

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions