HomeDevCentral

Relax long lines requirement

Description

Relax long lines requirement

For methods signature in PHP (and so probably in Rust), a 82 characters line
is easier to read than a 4 lines signature:

public static function registerPSR4 (string $namespace, string $path) : void {
    doSomething();
}

vs

public static function registerPSR4 (
    string $namespace,
    string $path
) : void {
    doSomething();
}

As such, we set an hard limit to 120 characters and 80 becomes a soft limit.

Details

Provenance
derecksonAuthored on Apr 16 2018, 11:59
derecksonPushed on Mar 26 2022, 12:38
Parents
rDEVCSe99bf1b25610: Don't add a space after type cast in PHP
Branches
Unknown
Tags
Unknown