<?php
class PHPCS_Sniffs_ControlStructures_ControlSignatureSniff extends PHP_CodeSniffer_Standards_AbstractPatternSniff
{
    public function __construct()
    {
        parent::__construct(true);
    }

    protected function getPatterns()
    {
        return array(
          'do {EOL...} while (...);EOL',
          'while (...) {EOL',
          'for (...) {EOL',
          'if (...) {EOL',
          'foreach (...) {EOL',
          // Decide wether to use '}EOLelse' or '} else'
          #'}EOLelse if (...) {EOL',
          #'}EOLelse {EOL',
          'do {EOL',
        );
    }
}

Revert "Delete" from 137c29648e. Restored the brace style sniff deactivation the part the code base is unclear about.
Revert "Delete" from 137c29648e. Restored the brace style sniff deactivation the part the code base is unclear about.
