maniaplanet/netbeans-psr

Handling of long line

magnetik opened this issue · 0 comments

Netbeans does not support the way of handling long lines recommended by PSR 2.

For instance:

public function bee(
SomeClassHint $object, $parameter1, $parameter2, $anotherParameter,$default = 'do_not_know'
)
{
    //body
}

should be:

public function bee(
    SomeClassHint $object, 
    $parameter1, 
    $parameter2, 
    $anotherParameter,
    $default = 'do_not_know'
){
    //body
}

Netbeans bug report: https://netbeans.org/bugzilla/show_bug.cgi?id=221701