joomla/coding-standards — pull request #7 by elkuku (2012-10-23 23:26:34+00:00)
Title: Add a "White space before a control structure" sniff

This will enforce an empty line before control structures and the return statement
This rule applies for the structures: `if`, `for`, `foreach`, `while`, `switch`, `try` and `return`

#### Example:

**BAD**
```php
$foo = $bar;
if (condition)
{
// blah
}
return $foo;
```

**GOOD**
```php
$foo = $bar;

if (condition)
{
// blah
}

return $foo;
```