EasyEngine/easyengine

Add phpcs rule to ensure one line is left empty after function declaration

Open

#1222 aperta il 14 set 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)PHP (429 fork)batch import
good first issue

Metriche repository

Star
 (1984 star)
Metriche merge PR
 (Merge medio 20g 14h) (7 PR mergiate in 30 g)

Descrizione

Currently PHPCS does not flag this as warning(which it should) -

function abc($a) {
    if($a){
        ...
    }
}

This is the coding the team has agreed to(and it should not display warning) -

function abc($a) {

    if($a){
        ...
    }
}

phpcs.xml needs to be modified in this and all the commands and site type repos.

Guida contributor