\Joomla_Sniffs_ControlStructures_InlineControlStructureSniff

Joomla_Sniffs_ControlStructures_InlineControlStructureSniff.

Verifies that inline control statements are not present.

Synopsis

class Joomla_Sniffs_ControlStructures_InlineControlStructureSniff extends Generic_Sniffs_ControlStructures_InlineControlStructureSniff {
}

Hierarchy

Members

public

  • $errorbool
    If true, an error will be thrown; otherwise a warning.
  • $supportedTokenizers — array
    A list of tokenizers this sniff supports.

Methods

public

  • process() — Processes this test, when one of its tokens is encountered.
  • register() — Returns an array of tokens this test wants to listen for.