maniaplanet / netbeans-psr

Netbeans settings to comply to PHP's PSR 1 & 2
56 stars 9 forks source link

Handling of long line #2

Open magnetik opened 10 years ago

magnetik commented 10 years ago

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