Skip to content

PSR12.Files.FileHeader false positive when file only contains docblock #2616

@dereuromark

Description

@dereuromark
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
 5 | ERROR | [x] Header blocks must be followed by a single blank line

is unfixable.
It doesn't respect a file that only contains a docblock.

code is:

<?php

/**
 * Here go your local configs
 */

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