EasyEngine/easyengine

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

Open

#1 222 ouverte le 14 sept. 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)PHP (429 forks)batch import
good first issue

Métriques du dépôt

Stars
 (1 984 stars)
Métriques de merge PR
 (Merge moyen 20j 14h) (7 PRs mergées en 30 j)

Description

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.

Guide contributeur