EasyEngine / EasyEngine/easyengine
Add phpcs rule to ensure one line is left empty after function declaration
Open
good first issue
- Dominant language
- PHP
- Stars
- 2.2k
- Forks
- 424
- PR merge metrics
- No merged PRs in 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.
Contributor guide
Assessment
This issue has not been assessed yet.