Skip to content

PSR12.Files.FileHeader locks up when inline comment is the last content in a file #2619

Closed
@ADmad

Description

@ADmad

PSR12\Sniffs\Files\FileHeaderSniff hangs up when checking file with following content

<?php
// Do nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions