•  
      request #16620 One class per file
    Infos
    #16620
    Nicolas Terray (nterray)
    2020-09-08 11:49
    2020-08-28 16:58
    17926
    Details
    One class per file
    PSR-1 says that "each class is in a file by itself":
    https://www.php-fig.org/psr/psr-1/#3-namespace-and-class-names
    Dev tools
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2020-09-08
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-09-01 18:22
    gerrit #20042 integrated into Tuleap 11.18.99.117.

    However this cannot be closed yet. This can be closed once the rule PSR1.Classes.ClassDeclaration.MultipleClasses exclusion (or at least kept but with only very specific exclusion paths) can be removed from tests/phpcs/tuleap-ruleset-minimal.xml to be sure the issue is not introduced again in the codebase.