stojg/silverstripe-codesniffer — pull request #7 by kinglozzer (2014-07-30 14:34:41+00:00)
Title: NEW: Add sniff for whitespace around control structures

Example:

Not okay:
```php
if ($foo === 'bar') {
$baz = true;
}

try {
$result = $this->something();
} catch (Exception $e) {
$result = false;
}
```

Fixed:
```php
if($foo === 'bar') {
$baz = true;
}

try {
$result = $this->something();
} catch(Exception $e) {
$result = false;
}
```