HumHub Documentation (unofficial)

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/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Table of Contents

Classes

EmptyStatementSniff

        
On this page

Search results