BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace Namespace Reference

Classes

class  CastSpacingSniff
 
class  ControlStructureSpacingSniff
 
class  FunctionClosingBraceSpaceSniff
 
class  FunctionOpeningBraceSpaceSniff
 
class  FunctionSpacingSniff
 
class  LanguageConstructSpacingSniff
 
class  LogicalOperatorSpacingSniff
 
class  MemberVarSpacingSniff
 
class  ObjectOperatorSpacingSniff
 
class  OperatorSpacingSniff
 
class  PropertyLabelSpacingSniff
 
class  ScopeClosingBraceSniff
 
class  ScopeKeywordSpacingSniff
 
class  SemicolonSpacingSniff
 
class  SuperfluousWhitespaceSniff
 

Detailed Description

Ensure cast statements don't contain whitespace.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks that control structures have the correct spacing around brackets.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks that there is one empty line before the closing brace of a function.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks that there is no empty line after the opening brace of a function.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks the separation between methods in a class or interface.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensures all language constructs contain a single space between themselves and their content.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Verifies that operators have valid spacing surrounding them.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Verifies that class members are spaced correctly.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure there is no whitespace before/after an object operator.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensures that a property or label colon has a single space after it and no space before it.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks that the closing braces of scopes are aligned correctly.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure there is a single space after scope keywords.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Ensure there is no whitespace before a semicolon.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks for unneeded whitespace.

Checks that no whitespace preceeds the first content of the file, exists after the last content of the file, resides after content on any line, or are two empty lines in functions.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t