Documentation

EmptyStatementSniff.php

This sniff class detected empty statement.

This sniff implements the common algorithm for empty statement body detection. A body is considered as empty if it is completely empty or it only contains whitespace characters and/or comments.

stmt { // foo } stmt (conditions) { // foo }
Tags
author

Manuel Pichler mapi@manuel-pichler.de

author

Greg Sherwood gsherwood@squiz.net

copyright

2007-2014 Manuel Pichler. All rights reserved.

license

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

Interfaces, Classes and Traits

EmptyStatementSniff

Search results