EasyEngine/easyengine

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

Open

#1.222 aberto em 14 de set. de 2018

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)PHP (429 forks)batch import
good first issue

Métricas do repositório

Stars
 (1.984 stars)
Métricas de merge de PR
 (Mesclagem média 20d 14h) (7 fundiu PRs em 30d)

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.

Guia do colaborador