EasyEngine/easyengine

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

Open

#1,222 创建于 2018年9月14日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)PHP (429 fork)batch import
good first issue

仓库指标

Star
 (1,984 star)
PR 合并指标
 (平均合并 20天 14小时) (30 天内合并 7 个 PR)

描述

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.

贡献者指南