Source for file ControlSignatureSniff.php
Documentation is available at ControlSignatureSniff.php
* Verifies that control statements conform to their coding standards.
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
namespace PHP_CodeSniffer\Standards\PEAR\Sniffs\ControlStructures;
use PHP_CodeSniffer\Sniffs\AbstractPatternSniff;
class ControlSignatureSniff extends AbstractPatternSniff
* If true, comments will be ignored if they are found in the code.
public $ignoreComments = true;
* Returns the patterns that this test wishes to verify.
protected function getPatterns ()
'do {EOL...} while (...);EOL',
Documentation generated on Mon, 11 Mar 2019 15:27:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|