Skip to content

Empty line in multi-line function declaration cause infinite loop #1369

@duzhe

Description

@duzhe

Test this case

<?php

class Test
{
    public function a(
        $b,

        $c
    )
    {
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions