Documentation

PEAR_Sniffs_ControlStructures_ControlSignatureSniff extends PHP_CodeSniffer_Standards_AbstractPatternSniff
in package

Verifies that control statements conform to their coding standards.

Tags
category

PHP

author

Greg Sherwood gsherwood@squiz.net

author

Marc McIntyre mmcintyre@squiz.net

copyright

2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

version

Release: @package_version@

link
http://pear.php.net/package/PHP_CodeSniffer

Table of Contents

$ignoreComments  : bool
If true, comments will be ignored if they are found in the code.
getPatterns()  : array<string|int, string>
Returns the patterns that this test wishes to verify.

Properties

$ignoreComments

If true, comments will be ignored if they are found in the code.

public bool $ignoreComments = rue

Methods

getPatterns()

Returns the patterns that this test wishes to verify.

protected getPatterns() : array<string|int, string>
Return values
array<string|int, string>

Search results