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.

貢獻者指南