Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ x ]
[ _ ]
a
- $absoluteComplexity
- in file CyclomaticComplexitySniff.php, variable CyclomaticComplexitySniff::$absoluteComplexity
A complexity higher than this value will throw an error.
- $absoluteLineLimit
- in file LineLengthSniff.php, variable LineLengthSniff::$absoluteLineLimit
The limit that the length of a line must not exceed.
- $absoluteNestingLevel
- in file NestingLevelSniff.php, variable NestingLevelSniff::$absoluteNestingLevel
A nesting level higher than this value will throw an error.
- $activeListener
- in file File.php, variable File::$activeListener
The class name of the sniff currently processing the file.
- $allowedTypes
- in file Common.php, variable Common::$allowedTypes
An array of variable types for param/var we will check.
- $allowMultiline
- in file UnnecessaryStringConcatSniff.php, variable UnnecessaryStringConcatSniff::$allowMultiline
If true, strings concatenated over multiple lines are allowed.
- $allowMultipleArguments
- in file FunctionCallSignatureSniff.php, variable FunctionCallSignatureSniff::$allowMultipleArguments
If TRUE, multiple arguments can be defined per line in a multi-line call.
- $arithmeticTokens
- in file Tokens.php, variable Tokens::$arithmeticTokens
Tokens that represent arithmetic operators.
- $assignmentTokens
- in file Tokens.php, variable Tokens::$assignmentTokens
Tokens that represent assignments.
- $assignmentTokens
- in file AssignmentInConditionSniff.php, variable AssignmentInConditionSniff::$assignmentTokens
Assignment tokens to trigger on.
- AbstractPatternSniff
- in file AbstractPatternSniff.php, class AbstractPatternSniff
Processes pattern strings and checks that the code conforms to the pattern.
- AbstractScopeSniff
- in file AbstractScopeSniff.php, class AbstractScopeSniff
Allows tests that extend this class to listen for tokens within a particular scope.
- AbstractVariableSniff
- in file AbstractVariableSniff.php, class AbstractVariableSniff
A class to find T_VARIABLE tokens.
- accept
- in file Filter.php, method Filter::accept()
Check whether the current element of the iterator is acceptable.
- accept
- in file ExactMatch.php, method ExactMatch::accept()
Check whether the current element of the iterator is acceptable.
- addChangeset
- in file DisallowAlternativePHPTagsSniff.php, method DisallowAlternativePHPTagsSniff::addChangeset()
Add a changeset to replace the alternative PHP tags.
- addContent
- in file Fixer.php, method Fixer::addContent()
Adds content to the end of a token's current content.
- addContentBefore
- in file Fixer.php, method Fixer::addContentBefore()
Adds content to the start of a token's current content.
- addError
- in file DeprecatedFunctionsSniff.php, method DeprecatedFunctionsSniff::addError()
Generates the error or warning for this sniff.
- addError
- in file ForbiddenFunctionsSniff.php, method ForbiddenFunctionsSniff::addError()
Generates the error or warning for this sniff.
- addError
- in file File.php, method File::addError()
Records an error against a specific token in the file.
- addError
- in file ForbiddenStylesSniff.php, method ForbiddenStylesSniff::addError()
Generates the error or warning for this sniff.
- addErrorOnLine
- in file File.php, method File::addErrorOnLine()
Records an error against a specific line in the file.
- addFile
- in file FileList.php, method FileList::addFile()
Add a file to the list.
- addFixableError
- in file File.php, method File::addFixableError()
Records a fixable error against a specific token in the file.
- addFixableWarning
- in file File.php, method File::addFixableWarning()
Records a fixable warning against a specific token in the file.
- addMessage
- in file File.php, method File::addMessage()
Adds an error to the error stack.
- addMissingBracketsError
- in file OperatorBracketSniff.php, method OperatorBracketSniff::addMissingBracketsError()
Add and fix the missing brackets error.
- addNewline
- in file Fixer.php, method Fixer::addNewline()
Adds a newline to end of a token's content.
- addNewlineBefore
- in file Fixer.php, method Fixer::addNewlineBefore()
Adds a newline to the start of a token's content.
- addSearchPath
- in file autoload.php, method Autoload::addSearchPath()
Adds a directory to search during autoloading.
- addWarning
- in file File.php, method File::addWarning()
Records a warning against a specific token in the file.
- addWarningOnLine
- in file File.php, method File::addWarningOnLine()
Records a warning against a specific token in the file.
- AjaxNullComparisonSniff
- in file AjaxNullComparisonSniff.php, class AjaxNullComparisonSniff
Ensures that values submitted via JS are not compared to NULL.
- ArrayBracketSpacingSniff
- in file ArrayBracketSpacingSniff.php, class ArrayBracketSpacingSniff
Ensure that there are no spaces around square brackets.
- ArrayDeclarationSniff
- in file ArrayDeclarationSniff.php, class ArrayDeclarationSniff
Ensures that arrays conform to the array coding standard.
- AssignmentInConditionSniff
- in file AssignmentInConditionSniff.php, class AssignmentInConditionSniff
Detects variable assignments being made within conditions.
- AssignThisSniff
- in file AssignThisSniff.php, class AssignThisSniff
Ensures this is not assigned to any other var but self.
- Autoload
- in file autoload.php, class Autoload
Autoloads files for PHP_CodeSniffer and tracks what has been loaded.
- autoload.php
- procedural page autoload.php
- AbstractPatternSniff.php
- procedural page AbstractPatternSniff.php
- AbstractScopeSniff.php
- procedural page AbstractScopeSniff.php
- AbstractVariableSniff.php
- procedural page AbstractVariableSniff.php
- AssignmentInConditionSniff.php
- procedural page AssignmentInConditionSniff.php
- AssignThisSniff.php
- procedural page AssignThisSniff.php
- AjaxNullComparisonSniff.php
- procedural page AjaxNullComparisonSniff.php
- ArrayBracketSpacingSniff.php
- procedural page ArrayBracketSpacingSniff.php
- ArrayDeclarationSniff.php
- procedural page ArrayDeclarationSniff.php
top
b
- $basedir
- in file Filter.php, variable Filter::$basedir
The top-level path we are filtering.
- $blockOpeners
- in file Tokens.php, variable Tokens::$blockOpeners
Tokens that open code blocks.
- $bomDefinitions
- in file ByteOrderMarkSniff.php, variable ByteOrderMarkSniff::$bomDefinitions
List of supported BOM definitions.
- $booleanOperators
- in file Tokens.php, variable Tokens::$booleanOperators
Tokens that perform boolean operations.
- $bracketTokens
- in file Tokens.php, variable Tokens::$bracketTokens
Tokens that represent brackets and parenthesis.
- BacktickOperatorSniff
- in file BacktickOperatorSniff.php, class BacktickOperatorSniff
Bans the use of the backtick execution operator.
- beginChangeset
- in file Fixer.php, method Fixer::beginChangeset()
Start recording actions for a changeset.
- BlockCommentSniff
- in file BlockCommentSniff.php, class BlockCommentSniff
Verifies that block comments are used appropriately.
- BrowserSpecificStylesSniff
- in file BrowserSpecificStylesSniff.php, class BrowserSpecificStylesSniff
Ensure that browser-specific styles are not used.
- ByteOrderMarkSniff
- in file ByteOrderMarkSniff.php, class ByteOrderMarkSniff
A simple sniff for detecting BOMs that may corrupt application work.
- ByteOrderMarkSniff.php
- procedural page ByteOrderMarkSniff.php
- BacktickOperatorSniff.php
- procedural page BacktickOperatorSniff.php
- BrowserSpecificStylesSniff.php
- procedural page BrowserSpecificStylesSniff.php
- BlockCommentSniff.php
- procedural page BlockCommentSniff.php
top
c
- $castTokens
- in file Tokens.php, variable Tokens::$castTokens
Tokens that represent casting.
- $checkClosures
- in file OpeningFunctionBraceKernighanRitchieSniff.php, variable OpeningFunctionBraceKernighanRitchieSniff::$checkClosures
Should this sniff check closure braces?
- $checkClosures
- in file OpeningFunctionBraceBsdAllmanSniff.php, variable OpeningFunctionBraceBsdAllmanSniff::$checkClosures
Should this sniff check closure braces?
- $checkFunctions
- in file OpeningFunctionBraceKernighanRitchieSniff.php, variable OpeningFunctionBraceKernighanRitchieSniff::$checkFunctions
Should this sniff check function braces?
- $checkFunctions
- in file OpeningFunctionBraceBsdAllmanSniff.php, variable OpeningFunctionBraceBsdAllmanSniff::$checkFunctions
Should this sniff check function braces?
- $colourNames
- in file NamedColoursSniff.php, variable NamedColoursSniff::$colourNames
A list of named colours.
- $commentFormat
- in file LongConditionClosingCommentSniff.php, variable LongConditionClosingCommentSniff::$commentFormat
The format the end comment should be in.
- $commentTokens
- in file Tokens.php, variable Tokens::$commentTokens
Tokens that are comments.
- $commentTokens
- in file JS.php, variable JS::$commentTokens
A list tokens that start and end comments.
- $comparisonTokens
- in file Tokens.php, variable Tokens::$comparisonTokens
Tokens that represent comparison operator.
- $complexity
- in file CyclomaticComplexitySniff.php, variable CyclomaticComplexitySniff::$complexity
A complexity higher than this value will throw a warning.
- $conditionStartTokens
- in file AssignmentInConditionSniff.php, variable AssignmentInConditionSniff::$conditionStartTokens
The tokens that indicate the start of a condition.
- $config
- in file FileList.php, variable FileList::$config
The config data for the run.
- $config
- in file File.php, variable File::$config
The config data for the run.
- $config
- in file Filter.php, variable Filter::$config
The config data for the run.
- $config
- in file Runner.php, variable Runner::$config
The config data for the run.
- $config
- in file Tokenizer.php, variable Tokenizer::$config
The config data for the run.
- $config
- in file Reporter.php, variable Reporter::$config
The config data for the run.
- $configCache
- in file File.php, variable File::$configCache
A cache of often used config settings to improve performance.
- $configFile
- in file ESLintSniff.php, variable ESLintSniff::$configFile
ESLint configuration file path.
- $content
- in file File.php, variable File::$content
The absolute path to the file associated with this object.
- $currentFile
- in file AbstractVariableSniff.php, variable AbstractVariableSniff::$currentFile
The current PHP_CodeSniffer file that we are processing.
- $currFile
- in file AbstractPatternSniff.php, variable AbstractPatternSniff::$currFile
The current file being checked.
- Cache
- in file Cache.php, class Cache
Function for caching between runs.
- cacheFileReport
- in file Reporter.php, method Reporter::cacheFileReport()
Caches the result of a single processed file for all reports.
- CallTimePassByReferenceSniff
- in file CallTimePassByReferenceSniff.php, class CallTimePassByReferenceSniff
Ensures that variables are not passed by reference when calling a function.
- CamelCapsFunctionNameSniff
- in file CamelCapsFunctionNameSniff.php, class CamelCapsFunctionNameSniff
Ensures method and functions are named correctly.
- CamelCapsMethodNameSniff
- in file CamelCapsMethodNameSniff.php, class CamelCapsMethodNameSniff
Ensures method names are defined using camel case.
- CastSpacingSniff
- in file CastSpacingSniff.php, class CastSpacingSniff
Ensure cast statements don't contain whitespace.
- Cbf
- in file Cbf.php, class Cbf
CBF report for PHP_CodeSniffer.
- CharacterBeforePHPOpeningTagSniff
- in file CharacterBeforePHPOpeningTagSniff.php, class CharacterBeforePHPOpeningTagSniff
Checks that the opening PHP tag is the first content in a file.
- checkAlignment
- in file MultipleStatementAlignmentSniff.php, method MultipleStatementAlignmentSniff::checkAlignment()
Processes this test, when one of its tokens is encountered.
- checkLineLength
- in file LineLengthSniff.php, method LineLengthSniff::checkLineLength()
Checks if a line is too long.
- checkRequirements
- in file Runner.php, method Runner::checkRequirements()
Exits if the minimum requirements of PHP_CodSniffer are not met.
- checkSpacingAfterOperator
- in file ObjectOperatorSpacingSniff.php, method ObjectOperatorSpacingSniff::checkSpacingAfterOperator()
Check the spacing after the operator.
- checkSpacingBeforeOperator
- in file ObjectOperatorSpacingSniff.php, method ObjectOperatorSpacingSniff::checkSpacingBeforeOperator()
Check the spacing before the operator.
- Checkstyle
- in file Checkstyle.php, class Checkstyle
Checkstyle report for PHP_CodeSniffer.
- ClassCommentSniff
- in file ClassCommentSniff.php, class ClassCommentSniff
Parses and verifies the doc comments for classes.
- ClassDeclarationSniff
- in file ClassDeclarationSniff.php, class ClassDeclarationSniff
Checks the declaration of the class is correct.
- ClassDefinitionClosingBraceSpaceSniff
- in file ClassDefinitionClosingBraceSpaceSniff.php, class ClassDefinitionClosingBraceSpaceSniff
Ensure there is a single blank line after the closing brace of a class definition.
- ClassDefinitionNameSpacingSniff
- in file ClassDefinitionNameSpacingSniff.php, class ClassDefinitionNameSpacingSniff
Ensure there are no blank lines between the names of classes/IDs.
- ClassDefinitionOpeningBraceSpaceSniff
- in file ClassDefinitionOpeningBraceSpaceSniff.php, class ClassDefinitionOpeningBraceSpaceSniff
Ensure a single space before, and a newline after, the class opening brace
- ClassFileNameSniff
- in file ClassFileNameSniff.php, class ClassFileNameSniff
Tests that the file name and the name of the class contained within the file match.
- cleanSniffClass
- in file Common.php, method Common::cleanSniffClass()
Removes project-specific information from a sniff class name.
- cleanUp
- in file File.php, method File::cleanUp()
Remove vars stored in this file that are no longer required.
- ClosingDeclarationCommentSniff
- in file ClosingDeclarationCommentSniff.php, class ClosingDeclarationCommentSniff
Checks the //end ... comments on classes, interfaces and functions.
- ClosingPHPTagSniff
- in file ClosingPHPTagSniff.php, class ClosingPHPTagSniff
Checks that open PHP tags are paired with closing tags.
- ClosingTagSniff
- in file ClosingTagSniff.php, class ClosingTagSniff
Checks that the file does not end with a closing tag.
- ClosureLinterSniff
- in file ClosureLinterSniff.php, class ClosureLinterSniff
Runs gjslint on the file.
- CodeAnalyzerSniff
- in file CodeAnalyzerSniff.php, class CodeAnalyzerSniff
Runs the Zend Code Analyzer (from Zend Studio) on the file.
- ColonSpacingSniff
- in file ColonSpacingSniff.php, class ColonSpacingSniff
Ensure there is no space before a colon and one space after it.
- ColourDefinitionSniff
- in file ColourDefinitionSniff.php, class ColourDefinitionSniff
Ensure colours are defined in upper-case and use shortcuts where possible.
- Comment
- in file Comment.php, class Comment
Tokenizes doc block comments.
- CommentedOutCodeSniff
- in file CommentedOutCodeSniff.php, class CommentedOutCodeSniff
Warn about commented out code.
- Common
- in file Common.php, class Common
Basic util functions.
- ComparisonOperatorUsageSniff
- in file ComparisonOperatorUsageSniff.php, class ComparisonOperatorUsageSniff
A Sniff to enforce the use of IDENTICAL type operators rather than EQUAL operators.
- ConcatenationSpacingSniff
- in file ConcatenationSpacingSniff.php, class ConcatenationSpacingSniff
Makes sure there are no spaces around the concatenation operator.
- Config
- in file Config.php, class Config
Stores the configuration used to run PHPCS and PHPCBF.
- ConstructorNameSniff
- in file ConstructorNameSniff.php, class ConstructorNameSniff
Bans PHP 4 style constructors.
- ControlSignatureSniff
- in file ControlSignatureSniff.php, class ControlSignatureSniff
Verifies that control statements conform to their coding standards.
- ControlStructureSpacingSniff
- in file ControlStructureSpacingSniff.php, class ControlStructureSpacingSniff
Checks that control structures have the correct spacing around brackets.
- count
- in file FileList.php, method FileList::count()
Return the number of files in the list.
- CreateWidgetTypeCallbackSniff
- in file CreateWidgetTypeCallbackSniff.php, class CreateWidgetTypeCallbackSniff
Ensures the create() method of widget types properly uses callbacks.
- CSS
- in file CSS.php, class CSS
Tokenizes CSS code.
- CSSLintSniff
- in file CSSLintSniff.php, class CSSLintSniff
Runs csslint on the file.
- Csv
- in file Csv.php, class Csv
CSV report for PHP_CodeSniffer.
- current
- in file FileList.php, method FileList::current()
Get the file that is currently being processed.
- CyclomaticComplexitySniff
- in file CyclomaticComplexitySniff.php, class CyclomaticComplexitySniff
Checks the cyclomatic complexity (McCabe) for functions.
- Config.php
- procedural page Config.php
- Cbf.php
- procedural page Cbf.php
- Checkstyle.php
- procedural page Checkstyle.php
- Csv.php
- procedural page Csv.php
- ClosureLinterSniff.php
- procedural page ClosureLinterSniff.php
- CSSLintSniff.php
- procedural page CSSLintSniff.php
- CallTimePassByReferenceSniff.php
- procedural page CallTimePassByReferenceSniff.php
- CyclomaticComplexitySniff.php
- procedural page CyclomaticComplexitySniff.php
- CamelCapsFunctionNameSniff.php
- procedural page CamelCapsFunctionNameSniff.php
- ConstructorNameSniff.php
- procedural page ConstructorNameSniff.php
- CharacterBeforePHPOpeningTagSniff.php
- procedural page CharacterBeforePHPOpeningTagSniff.php
- ClosingPHPTagSniff.php
- procedural page ClosingPHPTagSniff.php
- CreateWidgetTypeCallbackSniff.php
- procedural page CreateWidgetTypeCallbackSniff.php
- ClassDeclarationSniff.php
- procedural page ClassDeclarationSniff.php
- ClassCommentSniff.php
- procedural page ClassCommentSniff.php
- ControlSignatureSniff.php
- procedural page ControlSignatureSniff.php
- ClassDeclarationSniff.php
- procedural page ClassDeclarationSniff.php
- CamelCapsMethodNameSniff.php
- procedural page CamelCapsMethodNameSniff.php
- ClassDeclarationSniff.php
- procedural page ClassDeclarationSniff.php
- ControlStructureSpacingSniff.php
- procedural page ControlStructureSpacingSniff.php
- ClosingTagSniff.php
- procedural page ClosingTagSniff.php
- ClassDeclarationSniff.php
- procedural page ClassDeclarationSniff.php
- ClassFileNameSniff.php
- procedural page ClassFileNameSniff.php
- ClassCommentSniff.php
- procedural page ClassCommentSniff.php
- ClosingDeclarationCommentSniff.php
- procedural page ClosingDeclarationCommentSniff.php
- ControlSignatureSniff.php
- procedural page ControlSignatureSniff.php
- ClassDefinitionClosingBraceSpaceSniff.php
- procedural page ClassDefinitionClosingBraceSpaceSniff.php
- ClassDefinitionNameSpacingSniff.php
- procedural page ClassDefinitionNameSpacingSniff.php
- ClassDefinitionOpeningBraceSpaceSniff.php
- procedural page ClassDefinitionOpeningBraceSpaceSniff.php
- ColonSpacingSniff.php
- procedural page ColonSpacingSniff.php
- ColourDefinitionSniff.php
- procedural page ColourDefinitionSniff.php
- ComparisonOperatorUsageSniff.php
- procedural page ComparisonOperatorUsageSniff.php
- CommentedOutCodeSniff.php
- procedural page CommentedOutCodeSniff.php
- ConcatenationSpacingSniff.php
- procedural page ConcatenationSpacingSniff.php
- CastSpacingSniff.php
- procedural page CastSpacingSniff.php
- ControlStructureSpacingSniff.php
- procedural page ControlStructureSpacingSniff.php
- CodeAnalyzerSniff.php
- procedural page CodeAnalyzerSniff.php
- ClosingTagSniff.php
- procedural page ClosingTagSniff.php
- Comment.php
- procedural page Comment.php
- CSS.php
- procedural page CSS.php
- Cache.php
- procedural page Cache.php
- Common.php
- procedural page Common.php
top
d
- $dieOnUnknownArg
- in file Config.php, variable Config::$dieOnUnknownArg
Whether or not to kill the process when an unknown command line arg is found.
- $docFiles
- in file Generator.php, variable Generator::$docFiles
XML documentation files used to produce the final output.
- DebugCodeSniff
- in file DebugCodeSniff.php, class DebugCodeSniff
Warns about the use of debug code.
- DeepExitException
- in file DeepExitException.php, class DeepExitException
An exception thrown by PHP_CodeSniffer when it wants to exit from somewhere not in the main runner.
- DeprecatedFunctionsSniff
- in file DeprecatedFunctionsSniff.php, class DeprecatedFunctionsSniff
Discourages the use of deprecated PHP functions.
- detectLineEndings
- in file Common.php, method Common::detectLineEndings()
Detects the EOL character being used in a string.
- Diff
- in file Diff.php, class Diff
Diff report for PHP_CodeSniffer.
- disableCaching
- in file File.php, method File::disableCaching()
Disables caching of this file.
- DisallowAlternativePHPTagsSniff
- in file DisallowAlternativePHPTagsSniff.php, class DisallowAlternativePHPTagsSniff
Verifies that no alternative PHP tags are used.
- DisallowBooleanStatementSniff
- in file DisallowBooleanStatementSniff.php, class DisallowBooleanStatementSniff
Ensures that boolean operators are only used inside control structure conditions.
- DisallowComparisonAssignmentSniff
- in file DisallowComparisonAssignmentSniff.php, class DisallowComparisonAssignmentSniff
Ensures that the value of a comparison is not assigned to a variable.
- DisallowInlineIfSniff
- in file DisallowInlineIfSniff.php, class DisallowInlineIfSniff
Stops inline IF statements from being used.
- DisallowLongArraySyntaxSniff
- in file DisallowLongArraySyntaxSniff.php, class DisallowLongArraySyntaxSniff
Bans the use of the PHP long array syntax.
- DisallowMultipleAssignmentsSniff
- in file DisallowMultipleAssignmentsSniff.php, class DisallowMultipleAssignmentsSniff
Ensures there is only one assignment on a line, and that it is the first thing on the line.
- DisallowMultipleStatementsSniff
- in file DisallowMultipleStatementsSniff.php, class DisallowMultipleStatementsSniff
Ensures each statement is on a line by itself.
- DisallowMultipleStyleDefinitionsSniff
- in file DisallowMultipleStyleDefinitionsSniff.php, class DisallowMultipleStyleDefinitionsSniff
Ensure that each style definition is on a line by itself.
- DisallowNewWidgetSniff
- in file DisallowNewWidgetSniff.php, class DisallowNewWidgetSniff
Ensures that widgets are not manually created.
- DisallowObEndFlushSniff
- in file DisallowObEndFlushSniff.php, class DisallowObEndFlushSniff
Checks the indenting used when an ob_start() call occurs.
- DisallowObjectStringIndexSniff
- in file DisallowObjectStringIndexSniff.php, class DisallowObjectStringIndexSniff
Ensures that object indexes are written in dot notation.
- DisallowSelfActionsSniff
- in file DisallowSelfActionsSniff.php, class DisallowSelfActionsSniff
Ensures that self and static are not used to call public methods in action classes.
- DisallowShortArraySyntaxSniff
- in file DisallowShortArraySyntaxSniff.php, class DisallowShortArraySyntaxSniff
Bans the use of the PHP short array syntax.
- DisallowShortOpenTagSniff
- in file DisallowShortOpenTagSniff.php, class DisallowShortOpenTagSniff
Makes sure that shorthand PHP open tags are not used.
- DisallowSizeFunctionsInLoopsSniff
- in file DisallowSizeFunctionsInLoopsSniff.php, class DisallowSizeFunctionsInLoopsSniff
Bans the use of size-based functions in loop conditions.
- DisallowSpaceIndentSniff
- in file DisallowSpaceIndentSniff.php, class DisallowSpaceIndentSniff
Throws errors if spaces are used for indentation other than precision indentation.
- DisallowTabIndentSniff
- in file DisallowTabIndentSniff.php, class DisallowTabIndentSniff
Throws errors if tabs are used for indentation.
- DiscouragedFunctionsSniff
- in file DiscouragedFunctionsSniff.php, class DiscouragedFunctionsSniff
Discourages the use of debug functions.
- DocCommentAlignmentSniff
- in file DocCommentAlignmentSniff.php, class DocCommentAlignmentSniff
Tests that the stars in a doc comment align correctly.
- DocCommentSniff
- in file DocCommentSniff.php, class DocCommentSniff
Ensures doc blocks follow basic formatting.
- DoubleQuoteUsageSniff
- in file DoubleQuoteUsageSniff.php, class DoubleQuoteUsageSniff
Makes sure that any use of double quotes strings are warranted.
- DummyFile
- in file DummyFile.php, class DummyFile
A dummy file represents a chunk of text that does not have a file system location.
- DuplicateClassDefinitionSniff
- in file DuplicateClassDefinitionSniff.php, class DuplicateClassDefinitionSniff
Check for duplicate class definitions that can be merged into one.
- DuplicateClassNameSniff
- in file DuplicateClassNameSniff.php, class DuplicateClassNameSniff
Reports errors if the same class or interface name is used in multiple files.
- DuplicatePropertySniff
- in file DuplicatePropertySniff.php, class DuplicatePropertySniff
Ensures JS classes don't contain duplicate property names.
- DuplicateStyleDefinitionSniff
- in file DuplicateStyleDefinitionSniff.php, class DuplicateStyleDefinitionSniff
Check for duplicate style definitions in the same class.
- DeepExitException.php
- procedural page DeepExitException.php
- DummyFile.php
- procedural page DummyFile.php
- Diff.php
- procedural page Diff.php
- DisallowLongArraySyntaxSniff.php
- procedural page DisallowLongArraySyntaxSniff.php
- DisallowShortArraySyntaxSniff.php
- procedural page DisallowShortArraySyntaxSniff.php
- DuplicateClassNameSniff.php
- procedural page DuplicateClassNameSniff.php
- DocCommentSniff.php
- procedural page DocCommentSniff.php
- DisallowMultipleStatementsSniff.php
- procedural page DisallowMultipleStatementsSniff.php
- DeprecatedFunctionsSniff.php
- procedural page DeprecatedFunctionsSniff.php
- DisallowAlternativePHPTagsSniff.php
- procedural page DisallowAlternativePHPTagsSniff.php
- DisallowShortOpenTagSniff.php
- procedural page DisallowShortOpenTagSniff.php
- DisallowSpaceIndentSniff.php
- procedural page DisallowSpaceIndentSniff.php
- DisallowTabIndentSniff.php
- procedural page DisallowTabIndentSniff.php
- DisallowSelfActionsSniff.php
- procedural page DisallowSelfActionsSniff.php
- DebugCodeSniff.php
- procedural page DebugCodeSniff.php
- DisallowNewWidgetSniff.php
- procedural page DisallowNewWidgetSniff.php
- DuplicatePropertySniff.php
- procedural page DuplicatePropertySniff.php
- DocCommentAlignmentSniff.php
- procedural page DocCommentAlignmentSniff.php
- DisallowMultipleStyleDefinitionsSniff.php
- procedural page DisallowMultipleStyleDefinitionsSniff.php
- DuplicateClassDefinitionSniff.php
- procedural page DuplicateClassDefinitionSniff.php
- DuplicateStyleDefinitionSniff.php
- procedural page DuplicateStyleDefinitionSniff.php
- DisallowObjectStringIndexSniff.php
- procedural page DisallowObjectStringIndexSniff.php
- DisallowBooleanStatementSniff.php
- procedural page DisallowBooleanStatementSniff.php
- DisallowComparisonAssignmentSniff.php
- procedural page DisallowComparisonAssignmentSniff.php
- DisallowInlineIfSniff.php
- procedural page DisallowInlineIfSniff.php
- DisallowMultipleAssignmentsSniff.php
- procedural page DisallowMultipleAssignmentsSniff.php
- DisallowObEndFlushSniff.php
- procedural page DisallowObEndFlushSniff.php
- DisallowSizeFunctionsInLoopsSniff.php
- procedural page DisallowSizeFunctionsInLoopsSniff.php
- DiscouragedFunctionsSniff.php
- procedural page DiscouragedFunctionsSniff.php
- DoubleQuoteUsageSniff.php
- procedural page DoubleQuoteUsageSniff.php
top
e
- $emptyTokens
- in file Tokens.php, variable Tokens::$emptyTokens
Tokens that don't represent code.
- $enabled
- in file Fixer.php, variable Fixer::$enabled
Is the fixer enabled and fixing a file?
- $endScopeTokens
- in file JS.php, variable JS::$endScopeTokens
A list of tokens that end the scope.
- $endScopeTokens
- in file PHP.php, variable PHP::$endScopeTokens
A list of tokens that end the scope.
- $eolChar
- in file File.php, variable File::$eolChar
The EOL character this file uses.
- $eolChar
- in file LineEndingsSniff.php, variable LineEndingsSniff::$eolChar
The valid EOL character.
- $eolChar
- in file Tokenizer.php, variable Tokenizer::$eolChar
The EOL char used in the content.
- $equalityTokens
- in file Tokens.php, variable Tokens::$equalityTokens
Tokens that represent equality comparisons.
- $equalsSpacing
- in file FunctionDeclarationArgumentSpacingSniff.php, variable FunctionDeclarationArgumentSpacingSniff::$equalsSpacing
How many spaces should surround the equals signs.
- $error
- in file NoSilencedErrorsSniff.php, variable NoSilencedErrorsSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file MultipleStatementAlignmentSniff.php, variable MultipleStatementAlignmentSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file ForbiddenStylesSniff.php, variable ForbiddenStylesSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file DiscouragedFunctionsSniff.php, variable DiscouragedFunctionsSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file UnnecessaryStringConcatSniff.php, variable UnnecessaryStringConcatSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file ForbiddenFunctionsSniff.php, variable ForbiddenFunctionsSniff::$error
If true, an error will be thrown; otherwise a warning.
- $error
- in file InlineControlStructureSniff.php, variable InlineControlStructureSniff::$error
If true, an error will be thrown; otherwise a warning.
- $errorCodes
- in file ClosureLinterSniff.php, variable ClosureLinterSniff::$errorCodes
A list of error codes that should show errors.
- $errorCount
- in file File.php, variable File::$errorCount
The total number of errors raised.
- $errors
- in file File.php, variable File::$errors
The errors raised from sniffs.
- $exact
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$exact
Does the indent need to be exactly right?
- $excludeStyles
- in file ShorthandSizeSniff.php, variable ShorthandSizeSniff::$excludeStyles
A list of styles that we shouldn't check.
- EchoedStringsSniff
- in file EchoedStringsSniff.php, class EchoedStringsSniff
Makes sure that any strings that are "echoed" are not enclosed in brackets.
- ElseIfDeclarationSniff
- in file ElseIfDeclarationSniff.php, class ElseIfDeclarationSniff
Verifies that there are no else if statements (elseif should be used instead).
- Emacs
- in file Emacs.php, class Emacs
Emacs report for PHP_CodeSniffer.
- EmbeddedPhpSniff
- in file EmbeddedPhpSniff.php, class EmbeddedPhpSniff
Checks the indentation of embedded PHP code segments.
- EmptyCatchCommentSniff
- in file EmptyCatchCommentSniff.php, class EmptyCatchCommentSniff
Checks for empty catch clause without a comment.
- EmptyClassDefinitionSniff
- in file EmptyClassDefinitionSniff.php, class EmptyClassDefinitionSniff
Ensure that class definitions are not empty.
- EmptyStatementSniff
- in file EmptyStatementSniff.php, class EmptyStatementSniff
This sniff class detected empty statement.
- EmptyStyleDefinitionSniff
- in file EmptyStyleDefinitionSniff.php, class EmptyStyleDefinitionSniff
Ensure that style definitions are not empty.
- endChangeset
- in file Fixer.php, method Fixer::endChangeset()
Stop recording actions for a changeset, and apply logged changes.
- EndFileNewlineSniff
- in file EndFileNewlineSniff.php, class EndFileNewlineSniff
Ensures the file ends with a newline character.
- EndFileNoNewlineSniff
- in file EndFileNoNewlineSniff.php, class EndFileNoNewlineSniff
Ensures the file does not end with a newline character.
- ESLintSniff
- in file ESLintSniff.php, class ESLintSniff
Runs eslint on the file.
- EvalObjectFactorySniff
- in file EvalObjectFactorySniff.php, class EvalObjectFactorySniff
Ensures that eval() is not used to create objects.
- EvalSniff
- in file EvalSniff.php, class EvalSniff
The use of eval() is discouraged.
- ExactMatch
- in file ExactMatch.php, class ExactMatch
An abstract filter class for checking files and folders against exact matches.
- explain
- in file Ruleset.php, method Ruleset::explain()
Prints a report showing the sniffs contained in a standard.
- ExactMatch.php
- procedural page ExactMatch.php
- Emacs.php
- procedural page Emacs.php
- EmptyStatementSniff.php
- procedural page EmptyStatementSniff.php
- ESLintSniff.php
- procedural page ESLintSniff.php
- EndFileNewlineSniff.php
- procedural page EndFileNewlineSniff.php
- EndFileNoNewlineSniff.php
- procedural page EndFileNoNewlineSniff.php
- EvalObjectFactorySniff.php
- procedural page EvalObjectFactorySniff.php
- ElseIfDeclarationSniff.php
- procedural page ElseIfDeclarationSniff.php
- EndFileNewlineSniff.php
- procedural page EndFileNewlineSniff.php
- EmptyCatchCommentSniff.php
- procedural page EmptyCatchCommentSniff.php
- ElseIfDeclarationSniff.php
- procedural page ElseIfDeclarationSniff.php
- EmptyClassDefinitionSniff.php
- procedural page EmptyClassDefinitionSniff.php
- EmptyStyleDefinitionSniff.php
- procedural page EmptyStyleDefinitionSniff.php
- EmbeddedPhpSniff.php
- procedural page EmbeddedPhpSniff.php
- EvalSniff.php
- procedural page EvalSniff.php
- EchoedStringsSniff.php
- procedural page EchoedStringsSniff.php
top
f
- $fixableCount
- in file File.php, variable File::$fixableCount
The total number of errors and warnings that can be fixed.
- $fixedCount
- in file File.php, variable File::$fixedCount
The total number of errors and warnings that were fixed.
- $fixer
- in file File.php, variable File::$fixer
The Fixer object to control fixing errors.
- $forbiddenFunctionNames
- in file ForbiddenFunctionsSniff.php, variable ForbiddenFunctionsSniff::$forbiddenFunctionNames
A cache of forbidden function names, for faster lookups.
- $forbiddenFunctions
- in file DiscouragedFunctionsSniff.php, variable DiscouragedFunctionsSniff::$forbiddenFunctions
A list of forbidden functions with their alternatives.
- $forbiddenFunctions
- in file DisallowSizeFunctionsInLoopsSniff.php, variable DisallowSizeFunctionsInLoopsSniff::$forbiddenFunctions
An array of functions we don't want in the condition of loops.
- $forbiddenFunctions
- in file ForbiddenFunctionsSniff.php, variable ForbiddenFunctionsSniff::$forbiddenFunctions
A list of forbidden functions with their alternatives.
- $forbiddenFunctions
- in file DeprecatedFunctionsSniff.php, variable DeprecatedFunctionsSniff::$forbiddenFunctions
A list of forbidden functions with their alternatives.
- $forbiddenStyleNames
- in file ForbiddenStylesSniff.php, variable ForbiddenStylesSniff::$forbiddenStyleNames
A cache of forbidden style names, for faster lookups.
- $forbiddenStyles
- in file ForbiddenStylesSniff.php, variable ForbiddenStylesSniff::$forbiddenStyles
A list of forbidden styles with their alternatives.
- $foundClasses
- in file DuplicateClassNameSniff.php, variable DuplicateClassNameSniff::$foundClasses
List of classes that have been found during checking.
- $fromCache
- in file File.php, variable File::$fromCache
Was the file loaded from cache?
- $functionNameTokens
- in file Tokens.php, variable Tokens::$functionNameTokens
Tokens that represent the names of called functions.
- File
- in file File.php, class File
Represents a piece of content being checked during the run.
- FileCommentSniff
- in file FileCommentSniff.php, class FileCommentSniff
Parses and verifies the file doc comment.
- FileExtensionSniff
- in file FileExtensionSniff.php, class FileExtensionSniff
Tests that classes and interfaces are not declared in .php files.
- FileList
- in file FileList.php, class FileList
Represents a list of files on the file system that are to be checked during the run.
- Filter
- in file Filter.php, class Filter
A base filter class for filtering out files and folders during a run.
- findClosingTag
- in file DisallowAlternativePHPTagsSniff.php, method DisallowAlternativePHPTagsSniff::findClosingTag()
Try and find a matching PHP closing tag.
- findEndOfStatement
- in file File.php, method File::findEndOfStatement()
Returns the position of the last non-whitespace token in a statement.
- findExtendedClassName
- in file File.php, method File::findExtendedClassName()
Returns the name of the class that the specified class extends.
- findFirstOnLine
- in file File.php, method File::findFirstOnLine()
Returns the position of the first token on a line, matching given type.
- findImplementedInterfaceNames
- in file File.php, method File::findImplementedInterfaceNames()
Returns the names of the interfaces that the specified class implements.
- findIncrementers
- in file JumbledIncrementerSniff.php, method JumbledIncrementerSniff::findIncrementers()
Get all used variables in the incrementer part of a for statement.
- findNext
- in file File.php, method File::findNext()
Returns the position of the next specified token(s).
- findPrevious
- in file File.php, method File::findPrevious()
Returns the position of the previous specified token(s).
- findStartOfStatement
- in file File.php, method File::findStartOfStatement()
Returns the position of the first non-whitespace token in a statement.
- FirebugConsoleSniff
- in file FirebugConsoleSniff.php, class FirebugConsoleSniff
Ensures that console is not used for function or var names.
- Fixer
- in file Fixer.php, class Fixer
A helper class for fixing errors.
- fixFile
- in file Fixer.php, method Fixer::fixFile()
Attempt to fix the file by processing it until no fixes are made.
- FixmeSniff
- in file FixmeSniff.php, class FixmeSniff
Warns about FIXME comments.
- ForbiddenFunctionsSniff
- in file ForbiddenFunctionsSniff.php, class ForbiddenFunctionsSniff
Discourages the use of alias functions.
- ForbiddenStylesSniff
- in file ForbiddenStylesSniff.php, class ForbiddenStylesSniff
Bans the use of some styles, such as deprecated or browser-specific styles.
- ForEachLoopDeclarationSniff
- in file ForEachLoopDeclarationSniff.php, class ForEachLoopDeclarationSniff
Verifies that there is a space between each condition of foreach loops.
- ForLoopDeclarationSniff
- in file ForLoopDeclarationSniff.php, class ForLoopDeclarationSniff
Verifies that there is a space between each condition of for loops.
- ForLoopShouldBeWhileLoopSniff
- in file ForLoopShouldBeWhileLoopSniff.php, class ForLoopShouldBeWhileLoopSniff
Detects for-loops that can be simplified to a while-loop.
- ForLoopWithTestFunctionCallSniff
- in file ForLoopWithTestFunctionCallSniff.php, class ForLoopWithTestFunctionCallSniff
Detects for-loops that use a function call in the test expression.
- Full
- in file Full.php, class Full
Full report for PHP_CodeSniffer.
- FunctionCallArgumentSpacingSniff
- in file FunctionCallArgumentSpacingSniff.php, class FunctionCallArgumentSpacingSniff
Checks that calls to methods and functions are spaced correctly.
- FunctionCallSignatureSniff
- in file FunctionCallSignatureSniff.php, class FunctionCallSignatureSniff
Ensures function calls are formatted correctly.
- FunctionClosingBraceSniff
- in file FunctionClosingBraceSniff.php, class FunctionClosingBraceSniff
Checks that the closing brace of a function goes directly after the body.
- FunctionClosingBraceSpaceSniff
- in file FunctionClosingBraceSpaceSniff.php, class FunctionClosingBraceSpaceSniff
Checks that there is one empty line before the closing brace of a function.
- FunctionCommentSniff
- in file FunctionCommentSniff.php, class FunctionCommentSniff
Parses and verifies the doc comments for functions.
- FunctionCommentThrowTagSniff
- in file FunctionCommentThrowTagSniff.php, class FunctionCommentThrowTagSniff
Verifies that a @throws tag exists for each exception type a function throws.
- FunctionDeclarationArgumentSpacingSniff
- in file FunctionDeclarationArgumentSpacingSniff.php, class FunctionDeclarationArgumentSpacingSniff
Checks that arguments in function declarations are spaced correctly.
- FunctionDeclarationSniff
- in file FunctionDeclarationSniff.php, class FunctionDeclarationSniff
Ensure single and multi-line function declarations are defined correctly.
- FunctionDuplicateArgumentSniff
- in file FunctionDuplicateArgumentSniff.php, class FunctionDuplicateArgumentSniff
Checks that duplicate arguments are not used in function declarations.
- FunctionOpeningBraceSpaceSniff
- in file FunctionOpeningBraceSpaceSniff.php, class FunctionOpeningBraceSpaceSniff
Checks that there is no empty line after the opening brace of a function.
- FunctionSpacingSniff
- in file FunctionSpacingSniff.php, class FunctionSpacingSniff
Checks the separation between methods in a class or interface.
- File.php
- procedural page File.php
- FileList.php
- procedural page FileList.php
- Filter.php
- procedural page Filter.php
- Fixer.php
- procedural page Fixer.php
- Full.php
- procedural page Full.php
- ForLoopShouldBeWhileLoopSniff.php
- procedural page ForLoopShouldBeWhileLoopSniff.php
- ForLoopWithTestFunctionCallSniff.php
- procedural page ForLoopWithTestFunctionCallSniff.php
- FixmeSniff.php
- procedural page FixmeSniff.php
- FunctionCallArgumentSpacingSniff.php
- procedural page FunctionCallArgumentSpacingSniff.php
- ForbiddenFunctionsSniff.php
- procedural page ForbiddenFunctionsSniff.php
- FunctionCommentSniff.php
- procedural page FunctionCommentSniff.php
- FirebugConsoleSniff.php
- procedural page FirebugConsoleSniff.php
- FileCommentSniff.php
- procedural page FileCommentSniff.php
- FunctionCommentSniff.php
- procedural page FunctionCommentSniff.php
- FunctionCallSignatureSniff.php
- procedural page FunctionCallSignatureSniff.php
- FunctionDeclarationSniff.php
- procedural page FunctionDeclarationSniff.php
- FunctionCallSignatureSniff.php
- procedural page FunctionCallSignatureSniff.php
- FunctionClosingBraceSniff.php
- procedural page FunctionClosingBraceSniff.php
- FileCommentSniff.php
- procedural page FileCommentSniff.php
- FunctionCommentSniff.php
- procedural page FunctionCommentSniff.php
- FunctionCommentThrowTagSniff.php
- procedural page FunctionCommentThrowTagSniff.php
- ForEachLoopDeclarationSniff.php
- procedural page ForEachLoopDeclarationSniff.php
- ForLoopDeclarationSniff.php
- procedural page ForLoopDeclarationSniff.php
- ForbiddenStylesSniff.php
- procedural page ForbiddenStylesSniff.php
- FileExtensionSniff.php
- procedural page FileExtensionSniff.php
- FunctionDeclarationArgumentSpacingSniff.php
- procedural page FunctionDeclarationArgumentSpacingSniff.php
- FunctionDeclarationSniff.php
- procedural page FunctionDeclarationSniff.php
- FunctionDuplicateArgumentSniff.php
- procedural page FunctionDuplicateArgumentSniff.php
- ForbiddenFunctionsSniff.php
- procedural page ForbiddenFunctionsSniff.php
- FunctionClosingBraceSpaceSniff.php
- procedural page FunctionClosingBraceSpaceSniff.php
- FunctionOpeningBraceSpaceSniff.php
- procedural page FunctionOpeningBraceSpaceSniff.php
- FunctionSpacingSniff.php
- procedural page FunctionSpacingSniff.php
top
g
- generate
- in file Full.php, method Full::generate()
Prints all errors and warnings for each file processed.
- generate
- in file Generator.php, method Generator::generate()
Generates the documentation for a standard.
- generate
- in file Summary.php, method Summary::generate()
Generates a summary of errors and warnings for each file processed.
- generate
- in file VersionControl.php, method VersionControl::generate()
Prints the author of all errors and warnings, as given by "version control blame".
- generate
- in file Source.php, method Source::generate()
Prints the source of all errors and warnings.
- generate
- in file Emacs.php, method Emacs::generate()
Generates an emacs report.
- generate
- in file Csv.php, method Csv::generate()
Generates a csv report.
- generate
- in file Xml.php, method Xml::generate()
Prints all violations for processed files, in a proprietary XML format.
- generate
- in file Checkstyle.php, method Checkstyle::generate()
Prints all violations for processed files, in a Checkstyle format.
- generate
- in file HTML.php, method HTML::generate()
Generates the documentation for a standard.
- generate
- in file Markdown.php, method Markdown::generate()
Generates the documentation for a standard.
- generate
- in file Notifysend.php, method Notifysend::generate()
Generates a summary of errors and warnings for each file processed.
- generate
- in file Report.php, method Report::generate()
Generate the actual report.
- generate
- in file Junit.php, method Junit::generate()
Prints all violations for processed files, in a proprietary XML format.
- generate
- in file Json.php, method Json::generate()
Generates a JSON report.
- generate
- in file Cbf.php, method Cbf::generate()
Prints a summary of fixed files.
- generate
- in file Info.php, method Info::generate()
Prints the source of all errors and warnings.
- generate
- in file Diff.php, method Diff::generate()
Prints all errors and warnings for each file processed.
- generateDiff
- in file Fixer.php, method Fixer::generateDiff()
Generates a text diff of the original file and the new content.
- generateFileReport
- in file Checkstyle.php, method Checkstyle::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Source.php, method Source::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Cbf.php, method Cbf::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Summary.php, method Summary::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Diff.php, method Diff::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Full.php, method Full::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Report.php, method Report::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file VersionControl.php, method VersionControl::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Info.php, method Info::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Json.php, method Json::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Junit.php, method Junit::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Csv.php, method Csv::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Emacs.php, method Emacs::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Xml.php, method Xml::generateFileReport()
Generate a partial report for a single processed file.
- generateFileReport
- in file Notifysend.php, method Notifysend::generateFileReport()
Generate a partial report for a single processed file.
- generateMessage
- in file Notifysend.php, method Notifysend::generateMessage()
Generate the error message to show to the user.
- Generator
- in file Generator.php, class Generator
The base class for all PHP_CodeSniffer documentation generators.
- get
- in file Cache.php, method Cache::get()
Retrieves a single entry from the cache.
- getAllConfigData
- in file Config.php, method Config::getAllConfigData()
Get all config data.
- getAuthor
- in file Svnblame.php, method Svnblame::getAuthor()
Extract the author from a blame line.
- getAuthor
- in file Hgblame.php, method Hgblame::getAuthor()
Extract the author from a blame line.
- getAuthor
- in file VersionControl.php, method VersionControl::getAuthor()
Extract the author from a blame line.
- getAuthor
- in file Gitblame.php, method Gitblame::getAuthor()
Extract the author from a blame line.
- getBasicCommand
- in file Notifysend.php, method Notifysend::getBasicCommand()
Generate and return the basic notify-send command string to execute.
- getBlacklist
- in file GitModified.php, method GitModified::getBlacklist()
Get a list of blacklisted file paths.
- getBlacklist
- in file ExactMatch.php, method ExactMatch::getBlacklist()
Get a list of blacklisted file paths.
- getBlameContent
- in file Gitblame.php, method Gitblame::getBlameContent()
Gets the blame output.
- getBlameContent
- in file Hgblame.php, method Hgblame::getBlameContent()
Gets the blame output.
- getBlameContent
- in file Svnblame.php, method Svnblame::getBlameContent()
Gets the blame output.
- getBlameContent
- in file VersionControl.php, method VersionControl::getBlameContent()
Gets the blame output.
- getChildren
- in file Filter.php, method Filter::getChildren()
Returns an iterator for the current entry.
- getChildren
- in file ExactMatch.php, method ExactMatch::getChildren()
Returns an iterator for the current entry.
- getClassProperties
- in file File.php, method File::getClassProperties()
Returns the visibility and implementation properties of a class.
- getCondition
- in file File.php, method File::getCondition()
Return the position of the condition for the passed token.
- getConfigData
- in file Config.php, method Config::getConfigData()
Get a single config value.
- getContents
- in file Fixer.php, method Fixer::getContents()
Get the current content of the file, as a string.
- getDeclarationName
- in file File.php, method File::getDeclarationName()
Returns the declaration names for classes, interfaces, traits, and functions.
- getDeclarationNameWithNamespace
- in file SelfMemberReferenceSniff.php, method SelfMemberReferenceSniff::getDeclarationNameWithNamespace()
Returns the declaration names for classes/interfaces/functions with a namespace.
- getErrorCount
- in file File.php, method File::getErrorCount()
Returns the number of errors raised.
- getErrors
- in file File.php, method File::getErrors()
Returns the errors raised from processing this file.
- getExecutablePath
- in file Config.php, method Config::getExecutablePath()
Get the path to an executable utility.
- getFilename
- in file File.php, method File::getFilename()
Returns the absolute filename of this file.
- getFixableCount
- in file File.php, method File::getFixableCount()
Returns the number of fixable errors/warnings raised.
- getFixCount
- in file Fixer.php, method Fixer::getFixCount()
Get a count of fixes that have been performed on the file.
- getFixedCount
- in file File.php, method File::getFixedCount()
Returns the number of fixed errors/warnings.
- getHighestWeightedToken
- in file Tokens.php, method Tokens::getHighestWeightedToken()
Returns the highest weighted token type.
- getIgnoredLines
- in file File.php, method File::getIgnoredLines()
Returns the list of ignored lines.
- getIgnorePatterns
- in file Ruleset.php, method Ruleset::getIgnorePatterns()
Gets the array of ignore patterns.
- getIncludedClassFromToken
- in file IncludeSystemSniff.php, method IncludeSystemSniff::getIncludedClassFromToken()
Determines the included class name from given token.
- getIncludedClassFromToken
- in file IncludeOwnSystemSniff.php, method IncludeOwnSystemSniff::getIncludedClassFromToken()
Determines the included class name from given token.
- getIncludePatterns
- in file Ruleset.php, method Ruleset::getIncludePatterns()
Gets the array of include patterns.
- getInstalledStandardDetails
- in file Standards.php, method Standards::getInstalledStandardDetails()
Get the details of all coding standards installed.
- getInstalledStandardPath
- in file Standards.php, method Standards::getInstalledStandardPath()
Return the path of an installed coding standard.
- getInstalledStandardPaths
- in file Standards.php, method Standards::getInstalledStandardPaths()
Get a list paths where standards are installed.
- getInstalledStandards
- in file Standards.php, method Standards::getInstalledStandards()
Get a list of all coding standards installed.
- getLoadedClasses
- in file autoload.php, method Autoload::getLoadedClasses()
Gets the mapping of file names to class names.
- getLoadedClassName
- in file autoload.php, method Autoload::getLoadedClassName()
Gets the class name for the given file path.
- getLoadedFileName
- in file autoload.php, method Autoload::getLoadedFileName()
Gets the file path for the given class name.
- getLoadedFiles
- in file autoload.php, method Autoload::getLoadedFiles()
Gets the mapping of class names to file names.
- getMemberProperties
- in file File.php, method File::getMemberProperties()
Returns the visibility and implementation properties of the class member variable found at the specified position in the stack.
- getMethodParameters
- in file File.php, method File::getMethodParameters()
Returns the method parameters for the specified function token.
- getMethodProperties
- in file File.php, method File::getMethodProperties()
Returns the visibility and implementation properties of a method.
- getMetrics
- in file File.php, method File::getMetrics()
Returns the metrics found while processing this file.
- getNamespaceOfScope
- in file SelfMemberReferenceSniff.php, method SelfMemberReferenceSniff::getNamespaceOfScope()
Returns the namespace declaration of a file.
- getPatterns
- in file AbstractPatternSniff.php, method AbstractPatternSniff::getPatterns()
Returns the patterns that should be checked.
- getProperties
- in file SubversionPropertiesSniff.php, method SubversionPropertiesSniff::getProperties()
Returns the Subversion properties which are actually set on a path.
- getRegexToken
- in file JS.php, method JS::getRegexToken()
Tokenizes a regular expression if one is found.
- GetRequestDataSniff
- in file GetRequestDataSniff.php, class GetRequestDataSniff
Ensures that getRequestData() is used to access super globals.
- getSettings
- in file Config.php, method Config::getSettings()
Get the array of all config settings.
- getSize
- in file Cache.php, method Cache::getSize()
Retrieves the number of cache entries.
- getSniffCode
- in file Common.php, method Common::getSniffCode()
Given a sniff class name, returns the code for the sniff.
- getSnippet
- in file DisallowAlternativePHPTagsSniff.php, method DisallowAlternativePHPTagsSniff::getSnippet()
Get a snippet from a HTML token.
- getSnippet
- in file DisallowShortOpenTagSniff.php, method DisallowShortOpenTagSniff::getSnippet()
Get a snippet from a HTML token.
- getSuccessCount
- in file File.php, method File::getSuccessCount()
Returns the number of successes recorded.
- getTitle
- in file Generator.php, method Generator::getTitle()
Retrieves the title of the sniff from the DOMNode supplied.
- getTokenContent
- in file Fixer.php, method Fixer::getTokenContent()
Get the current fixed content of a token.
- getTokens
- in file File.php, method File::getTokens()
Returns the token stack for this file.
- getTokens
- in file Tokenizer.php, method Tokenizer::getTokens()
Gets the array of tokens.
- getTokensAsString
- in file File.php, method File::getTokensAsString()
Returns the content of the tokens from the specified start position in the token stack for the specified length.
- getWarningCount
- in file File.php, method File::getWarningCount()
Returns the number of warnings raised.
- getWarnings
- in file File.php, method File::getWarnings()
Returns the warnings raised from processing this file.
- getWhitelist
- in file GitModified.php, method GitModified::getWhitelist()
Get a list of whitelisted file paths.
- getWhitelist
- in file ExactMatch.php, method ExactMatch::getWhitelist()
Get a list of whitelisted file paths.
- Gitblame
- in file Gitblame.php, class Gitblame
Git blame report for PHP_CodeSniffer.
- GitModified
- in file GitModified.php, class GitModified
A filter to only include files that have been modified or added in a Git repository.
- GlobalFunctionSniff
- in file GlobalFunctionSniff.php, class GlobalFunctionSniff
Tests for functions outside of classes.
- GlobalKeywordSniff
- in file GlobalKeywordSniff.php, class GlobalKeywordSniff
Stops the usage of the "global" keyword.
- GitModified.php
- procedural page GitModified.php
- Generator.php
- procedural page Generator.php
- Gitblame.php
- procedural page Gitblame.php
- GetRequestDataSniff.php
- procedural page GetRequestDataSniff.php
- GlobalFunctionSniff.php
- procedural page GlobalFunctionSniff.php
- GlobalKeywordSniff.php
- procedural page GlobalKeywordSniff.php
top
h
- $heredocTokens
- in file Tokens.php, variable Tokens::$heredocTokens
Tokens that make up a heredoc string.
- handleErrors
- in file Runner.php, method Runner::handleErrors()
Converts all PHP errors into exceptions.
- hasCondition
- in file File.php, method File::hasCondition()
Determine if the passed token has a condition of one of the passed types.
- HeredocSniff
- in file HeredocSniff.php, class HeredocSniff
Bans the use of heredocs and nowdocs.
- Hgblame
- in file Hgblame.php, class Hgblame
Mercurial blame report for PHP_CodeSniffer.
- HTML
- in file HTML.php, class HTML
A doc generator that outputs documentation in one big HTML file.
- HTML.php
- procedural page HTML.php
- Hgblame.php
- procedural page Hgblame.php
- HeredocSniff.php
- procedural page HeredocSniff.php
top
i
- $ignoreBlankLines
- in file SuperfluousWhitespaceSniff.php, variable SuperfluousWhitespaceSniff::$ignoreBlankLines
If TRUE, whitespace rules are not checked for blank lines.
- $ignoreCodes
- in file ClosureLinterSniff.php, variable ClosureLinterSniff::$ignoreCodes
A list of error codes to ignore.
- $ignoreComments
- in file LineLengthSniff.php, variable LineLengthSniff::$ignoreComments
Whether or not to ignore comment lines.
- $ignoreComments
- in file AbstractPatternSniff.php, variable AbstractPatternSniff::$ignoreComments
If true, comments will be ignored if they are found in the code.
- $ignored
- in file File.php, variable File::$ignored
If TRUE, the entire file is being ignored.
- $ignoredCodes
- in file File.php, variable File::$ignoredCodes
An array of message codes that are being ignored.
- $ignoreDirPatterns
- in file Filter.php, variable Filter::$ignoreDirPatterns
A list of ignore patterns that apply to directories only.
- $ignoredLines
- in file Tokenizer.php, variable Tokenizer::$ignoredLines
A list of lines being ignored due to error suppression comments.
- $ignoredListeners
- in file File.php, variable File::$ignoredListeners
An array of sniffs that are being ignored.
- $ignoreFilePatterns
- in file Filter.php, variable Filter::$ignoreFilePatterns
A list of ignore patterns that apply to files only.
- $ignoreIndentationTokens
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$ignoreIndentationTokens
List of tokens not needing to be checked for indentation.
- $ignoreNewlines
- in file OperatorSpacingSniff.php, variable OperatorSpacingSniff::$ignoreNewlines
Allow newlines instead of spaces.
- $ignoreNewlines
- in file ObjectOperatorSpacingSniff.php, variable ObjectOperatorSpacingSniff::$ignoreNewlines
Allow newlines instead of spaces.
- $ignoreNewlines
- in file ConcatenationSpacingSniff.php, variable ConcatenationSpacingSniff::$ignoreNewlines
Allow newlines instead of spaces.
- $ignorePatterns
- in file Ruleset.php, variable Ruleset::$ignorePatterns
A list of regular expressions used to ignore specific sniffs for files and folders.
- $ignorePatterns
- in file FileList.php, variable FileList::$ignorePatterns
An array of patterns to use for skipping files.
- $includePatterns
- in file Ruleset.php, variable Ruleset::$includePatterns
A list of regular expressions used to include specific sniffs for files and folders.
- $includeTokens
- in file Tokens.php, variable Tokens::$includeTokens
Tokens that include files.
- $indent
- in file ObjectOperatorIndentSniff.php, variable ObjectOperatorIndentSniff::$indent
The number of spaces code should be indented.
- $indent
- in file IndentationSniff.php, variable IndentationSniff::$indent
The number of spaces code should be indented.
- $indent
- in file MultiLineConditionSniff.php, variable MultiLineConditionSniff::$indent
The number of spaces code should be indented.
- $indent
- in file MultiLineAssignmentSniff.php, variable MultiLineAssignmentSniff::$indent
The number of spaces code should be indented.
- $indent
- in file FunctionDeclarationSniff.php, variable FunctionDeclarationSniff::$indent
The number of spaces code should be indented.
- $indent
- in file SwitchDeclarationSniff.php, variable SwitchDeclarationSniff::$indent
The number of spaces code should be indented.
- $indent
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$indent
The number of spaces code should be indented.
- $indent
- in file FunctionCallSignatureSniff.php, variable FunctionCallSignatureSniff::$indent
The number of spaces code should be indented.
- IncludeOwnSystemSniff
- in file IncludeOwnSystemSniff.php, class IncludeOwnSystemSniff
Ensures that a system does not include itself.
- IncludeSystemSniff
- in file IncludeSystemSniff.php, class IncludeSystemSniff
Ensures that systems, asset types and libs are included before they are used.
- IncludingFileSniff
- in file IncludingFileSniff.php, class IncludingFileSniff
Ensure include_once is used in conditional situations and require_once is used elsewhere.
- IncrementDecrementUsageSniff
- in file IncrementDecrementUsageSniff.php, class IncrementDecrementUsageSniff
Ensures that the ++ operators are used when possible.
- IndentationSniff
- in file IndentationSniff.php, class IndentationSniff
Ensures styles are indented 4 spaces.
- Info
- in file Info.php, class Info
Info report for PHP_CodeSniffer.
- init
- in file Runner.php, method Runner::init()
Init the rulesets and other high-level settings.
- InlineCommentSniff
- in file InlineCommentSniff.php, class InlineCommentSniff
Checks that there is adequate spacing between comments.
- InlineControlStructureSniff
- in file InlineControlStructureSniff.php, class InlineControlStructureSniff
Verifies that inline control statements are not present.
- InlineHTMLSniff
- in file InlineHTMLSniff.php, class InlineHTMLSniff
Ensures the whole file is PHP only, with no whitespace or inline HTML.
- InlineIfDeclarationSniff
- in file InlineIfDeclarationSniff.php, class InlineIfDeclarationSniff
Tests the spacing of shorthand IF statements.
- InnerFunctionsSniff
- in file InnerFunctionsSniff.php, class InnerFunctionsSniff
Ensures that functions within functions are never used.
- isCamelCaps
- in file Common.php, method Common::isCamelCaps()
Returns true if the specified string is in the camel caps format.
- isInstalledStandard
- in file Standards.php, method Standards::isInstalledStandard()
Determine if a standard is installed.
- isMinifiedContent
- in file Tokenizer.php, method Tokenizer::isMinifiedContent()
Checks the content to see if it looks minified.
- isMultiLineCall
- in file FunctionCallSignatureSniff.php, method FunctionCallSignatureSniff::isMultiLineCall()
Determine if this is a multi-line function call.
- isMultiLineDeclaration
- in file MultiLineFunctionDeclarationSniff.php, method MultiLineFunctionDeclarationSniff::isMultiLineDeclaration()
Determine if this is a multi-line function declaration.
- isMultiLineDeclaration
- in file FunctionDeclarationSniff.php, method FunctionDeclarationSniff::isMultiLineDeclaration()
Determine if this is a multi-line function declaration.
- isPharFile
- in file Common.php, method Common::isPharFile()
Return TRUE if the path is a PHAR file.
- isReference
- in file File.php, method File::isReference()
Determine if the passed token is a reference operator.
- isUnderscoreName
- in file Common.php, method Common::isUnderscoreName()
Returns true if the specified string is in the underscore caps format.
- Info.php
- procedural page Info.php
- InlineControlStructureSniff.php
- procedural page InlineControlStructureSniff.php
- InlineHTMLSniff.php
- procedural page InlineHTMLSniff.php
- IncludeOwnSystemSniff.php
- procedural page IncludeOwnSystemSniff.php
- IncludeSystemSniff.php
- procedural page IncludeSystemSniff.php
- InlineCommentSniff.php
- procedural page InlineCommentSniff.php
- IncludingFileSniff.php
- procedural page IncludingFileSniff.php
- InlineCommentSniff.php
- procedural page InlineCommentSniff.php
- InlineIfDeclarationSniff.php
- procedural page InlineIfDeclarationSniff.php
- IndentationSniff.php
- procedural page IndentationSniff.php
- IncrementDecrementUsageSniff.php
- procedural page IncrementDecrementUsageSniff.php
- InnerFunctionsSniff.php
- procedural page InnerFunctionsSniff.php
top
j
- JavaScriptLintSniff
- in file JavaScriptLintSniff.php, class JavaScriptLintSniff
Runs JavaScript Lint on the file.
- JoinStringsSniff
- in file JoinStringsSniff.php, class JoinStringsSniff
Ensures that strings are not joined using array.join().
- JS
- in file JS.php, class JS
Tokenizes JS code.
- JSHintSniff
- in file JSHintSniff.php, class JSHintSniff
Runs jshint.js on the file.
- JSLintSniff
- in file JSLintSniff.php, class JSLintSniff
Runs jslint.js on the file.
- Json
- in file Json.php, class Json
JSON report for PHP_CodeSniffer.
- JumbledIncrementerSniff
- in file JumbledIncrementerSniff.php, class JumbledIncrementerSniff
Detects incrementer jumbling in for loops.
- Junit
- in file Junit.php, class Junit
JUnit report for PHP_CodeSniffer.
- Json.php
- procedural page Json.php
- Junit.php
- procedural page Junit.php
- JumbledIncrementerSniff.php
- procedural page JumbledIncrementerSniff.php
- JSHintSniff.php
- procedural page JSHintSniff.php
- JoinStringsSniff.php
- procedural page JoinStringsSniff.php
- JavaScriptLintSniff.php
- procedural page JavaScriptLintSniff.php
- JSLintSniff.php
- procedural page JSLintSniff.php
- JS.php
- procedural page JS.php
top
k
- $knownLengths
- in file Tokenizer.php, variable Tokenizer::$knownLengths
Known lengths of tokens.
- $knownLengths
- in file PHP.php, variable PHP::$knownLengths
Known lengths of tokens.
- key
- in file FileList.php, method FileList::key()
Return the file path of the current file being processed.
top
l
- $lineLimit
- in file LineLengthSniff.php, variable LineLengthSniff::$lineLimit
The limit that the length of a line should not exceed.
- $lineLimit
- in file LongConditionClosingCommentSniff.php, variable LongConditionClosingCommentSniff::$lineLimit
The length that a code block must be before requiring a closing comment.
- $listeners
- in file File.php, variable File::$listeners
An array of sniffs listening to this file's processing.
- $listenerTimes
- in file File.php, variable File::$listenerTimes
An array of sniffs being processed and how long they took.
- $loops
- in file Fixer.php, variable Fixer::$loops
The number of times we have looped over a file.
- LanguageConstructSpacingSniff
- in file LanguageConstructSpacingSniff.php, class LanguageConstructSpacingSniff
Ensures all language constructs contain a single space between themselves and their content.
- LineEndingsSniff
- in file LineEndingsSniff.php, class LineEndingsSniff
Checks that end of line characters are correct.
- LineLengthSniff
- in file LineLengthSniff.php, class LineLengthSniff
Checks the length of all lines in a file.
- load
- in file Cache.php, method Cache::load()
Loads existing cache data for the run, if any.
- load
- in file autoload.php, method Autoload::load()
Loads a class.
- loadFile
- in file autoload.php, method Autoload::loadFile()
Includes a file and tracks what class or interface was loaded as a result.
- loadFunctionNamesInScope
- in file ConstructorNameSniff.php, method ConstructorNameSniff::loadFunctionNamesInScope()
Extracts all the function names found in the given scope.
- LocalFile
- in file LocalFile.php, class LocalFile
A local file represents a chunk of text has a file system location.
- LogicalOperatorSpacingSniff
- in file LogicalOperatorSpacingSniff.php, class LogicalOperatorSpacingSniff
Verifies that operators have valid spacing surrounding them.
- LongConditionClosingCommentSniff
- in file LongConditionClosingCommentSniff.php, class LongConditionClosingCommentSniff
Ensures long conditions have a comment at the end.
- LowercaseClassKeywordsSniff
- in file LowercaseClassKeywordsSniff.php, class LowercaseClassKeywordsSniff
Ensures all class keywords are lowercase.
- LowerCaseConstantSniff
- in file LowerCaseConstantSniff.php, class LowerCaseConstantSniff
Checks that all uses of true, false and null are lowercase.
- LowercaseDeclarationSniff
- in file LowercaseDeclarationSniff.php, class LowercaseDeclarationSniff
Ensures all control structure keywords are lowercase.
- LowercasedFilenameSniff
- in file LowercasedFilenameSniff.php, class LowercasedFilenameSniff
Checks that all file names are lowercased.
- LowercaseFunctionKeywordsSniff
- in file LowercaseFunctionKeywordsSniff.php, class LowercaseFunctionKeywordsSniff
Ensures all function keywords are lowercase.
- LowerCaseKeywordSniff
- in file LowerCaseKeywordSniff.php, class LowerCaseKeywordSniff
Checks that all PHP keywords are lowercase.
- LowercasePHPFunctionsSniff
- in file LowercasePHPFunctionsSniff.php, class LowercasePHPFunctionsSniff
Ensures all calls to inbuilt PHP functions are lowercase.
- LowercaseStyleDefinitionSniff
- in file LowercaseStyleDefinitionSniff.php, class LowercaseStyleDefinitionSniff
Ensure that all style definitions are in lowercase.
- LocalFile.php
- procedural page LocalFile.php
- LineEndingsSniff.php
- procedural page LineEndingsSniff.php
- LineLengthSniff.php
- procedural page LineLengthSniff.php
- LowercasedFilenameSniff.php
- procedural page LowercasedFilenameSniff.php
- LowerCaseConstantSniff.php
- procedural page LowerCaseConstantSniff.php
- LowerCaseKeywordSniff.php
- procedural page LowerCaseKeywordSniff.php
- LowercaseClassKeywordsSniff.php
- procedural page LowercaseClassKeywordsSniff.php
- LongConditionClosingCommentSniff.php
- procedural page LongConditionClosingCommentSniff.php
- LowercaseDeclarationSniff.php
- procedural page LowercaseDeclarationSniff.php
- LowercaseStyleDefinitionSniff.php
- procedural page LowercaseStyleDefinitionSniff.php
- LowercaseFunctionKeywordsSniff.php
- procedural page LowercaseFunctionKeywordsSniff.php
- LowercasePHPFunctionsSniff.php
- procedural page LowercasePHPFunctionsSniff.php
- LanguageConstructSpacingSniff.php
- procedural page LanguageConstructSpacingSniff.php
- LogicalOperatorSpacingSniff.php
- procedural page LogicalOperatorSpacingSniff.php
top
m
- $magicFunctions
- in file CamelCapsFunctionNameSniff.php, variable CamelCapsFunctionNameSniff::$magicFunctions
A list of all PHP magic functions.
- $magicFunctions
- in file ValidFunctionNameSniff.php, variable ValidFunctionNameSniff::$magicFunctions
A list of all PHP magic functions.
- $magicMethods
- in file ValidFunctionNameSniff.php, variable ValidFunctionNameSniff::$magicMethods
A list of all PHP magic methods.
- $magicMethods
- in file CamelCapsFunctionNameSniff.php, variable CamelCapsFunctionNameSniff::$magicMethods
A list of all PHP magic methods.
- $maxPadding
- in file MultipleStatementAlignmentSniff.php, variable MultipleStatementAlignmentSniff::$maxPadding
The maximum amount of padding before the alignment is ignored.
- $maxPercentage
- in file CommentedOutCodeSniff.php, variable CommentedOutCodeSniff::$maxPercentage
If a comment is more than $maxPercentage% code, a warning will be shown.
- $methodPrefixes
- in file Tokens.php, variable Tokens::$methodPrefixes
Tokens that can prefix a method name
- $methodsDoubleUnderscore
- in file CamelCapsFunctionNameSniff.php, variable CamelCapsFunctionNameSniff::$methodsDoubleUnderscore
A list of all PHP non-magic methods starting with a double underscore.
- $metrics
- in file File.php, variable File::$metrics
The metrics recorded by sniffs.
- makeFriendlyName
- in file Source.php, method Source::makeFriendlyName()
Converts a camel caps name into a readable string.
- Markdown
- in file Markdown.php, class Markdown
A doc generator that outputs documentation in Markdown format.
- MemberVarScopeSniff
- in file MemberVarScopeSniff.php, class MemberVarScopeSniff
Verifies that class members have scope modifiers.
- MemberVarSpacingSniff
- in file MemberVarSpacingSniff.php, class MemberVarSpacingSniff
Verifies that class members are spaced correctly.
- MethodDeclarationSniff
- in file MethodDeclarationSniff.php, class MethodDeclarationSniff
Checks that the method declaration is correct.
- MethodScopeSniff
- in file MethodScopeSniff.php, class MethodScopeSniff
Verifies that class methods have scope modifiers.
- MissingColonSniff
- in file MissingColonSniff.php, class MissingColonSniff
Ensure that all style definitions have a colon.
- MultiLineAssignmentSniff
- in file MultiLineAssignmentSniff.php, class MultiLineAssignmentSniff
If an assignment goes over two lines, ensure the equal sign is indented.
- MultiLineConditionSniff
- in file MultiLineConditionSniff.php, class MultiLineConditionSniff
Ensure multi-line IF conditions are defined correctly.
- MultiLineFunctionDeclarationSniff
- in file MultiLineFunctionDeclarationSniff.php, class MultiLineFunctionDeclarationSniff
Ensure single and multi-line function declarations are defined correctly.
- MultipleStatementAlignmentSniff
- in file MultipleStatementAlignmentSniff.php, class MultipleStatementAlignmentSniff
Checks alignment of assignments.
- Markdown.php
- procedural page Markdown.php
- MultipleStatementAlignmentSniff.php
- procedural page MultipleStatementAlignmentSniff.php
- MultiLineConditionSniff.php
- procedural page MultiLineConditionSniff.php
- MultiLineAssignmentSniff.php
- procedural page MultiLineAssignmentSniff.php
- MethodDeclarationSniff.php
- procedural page MethodDeclarationSniff.php
- MissingColonSniff.php
- procedural page MissingColonSniff.php
- MultiLineFunctionDeclarationSniff.php
- procedural page MultiLineFunctionDeclarationSniff.php
- MemberVarScopeSniff.php
- procedural page MemberVarScopeSniff.php
- MethodScopeSniff.php
- procedural page MethodScopeSniff.php
- MemberVarSpacingSniff.php
- procedural page MemberVarSpacingSniff.php
top
n
- $name
- in file Ruleset.php, variable Ruleset::$name
The name of the coding standard being used.
- $nestingLevel
- in file NestingLevelSniff.php, variable NestingLevelSniff::$nestingLevel
A nesting level higher than this value will throw a warning.
- $nonIndentingScopes
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$nonIndentingScopes
Any scope openers that should not cause an indent.
- $numTokens
- in file File.php, variable File::$numTokens
The number of tokens in this file.
- NamedColoursSniff
- in file NamedColoursSniff.php, class NamedColoursSniff
Ensure colour names are not used.
- NamespaceDeclarationSniff
- in file NamespaceDeclarationSniff.php, class NamespaceDeclarationSniff
Ensures namespaces are declared correctly.
- NestingLevelSniff
- in file NestingLevelSniff.php, class NestingLevelSniff
Checks the nesting level for methods.
- next
- in file FileList.php, method FileList::next()
Move forward to the next file.
- NonExecutableCodeSniff
- in file NonExecutableCodeSniff.php, class NonExecutableCodeSniff
Warns about code that can never been executed.
- NoSilencedErrorsSniff
- in file NoSilencedErrorsSniff.php, class NoSilencedErrorsSniff
Throws an error or warning when any code prefixed with an asperand is encountered.
- NoSpaceAfterCastSniff
- in file NoSpaceAfterCastSniff.php, class NoSpaceAfterCastSniff
Ensures there is no space after cast tokens.
- notifyAllFine
- in file Notifysend.php, method Notifysend::notifyAllFine()
Tell the user that all is fine and no error/warning has been found.
- notifyErrors
- in file Notifysend.php, method Notifysend::notifyErrors()
Tell the user that errors/warnings have been found.
- Notifysend
- in file Notifysend.php, class Notifysend
Notify-send report for PHP_CodeSniffer.
- Notifysend.php
- procedural page Notifysend.php
- NoSpaceAfterCastSniff.php
- procedural page NoSpaceAfterCastSniff.php
- NestingLevelSniff.php
- procedural page NestingLevelSniff.php
- NoSilencedErrorsSniff.php
- procedural page NoSilencedErrorsSniff.php
- NamespaceDeclarationSniff.php
- procedural page NamespaceDeclarationSniff.php
- NamedColoursSniff.php
- procedural page NamedColoursSniff.php
- NonExecutableCodeSniff.php
- procedural page NonExecutableCodeSniff.php
top
o
- $ooScopeTokens
- in file Tokens.php, variable Tokens::$ooScopeTokens
Tokens that are open class and object scopes.
- $operators
- in file Tokens.php, variable Tokens::$operators
Tokens that perform operations.
- ObjectInstantiationSniff
- in file ObjectInstantiationSniff.php, class ObjectInstantiationSniff
Ensures objects are assigned to a variable when instantiated.
- ObjectMemberCommaSniff
- in file ObjectMemberCommaSniff.php, class ObjectMemberCommaSniff
Ensures the last member of an object is not followed by a comma.
- ObjectOperatorIndentSniff
- in file ObjectOperatorIndentSniff.php, class ObjectOperatorIndentSniff
Checks that object operators are indented correctly.
- ObjectOperatorSpacingSniff
- in file ObjectOperatorSpacingSniff.php, class ObjectOperatorSpacingSniff
Ensure there is no whitespace before/after an object operator.
- OneClassPerFileSniff
- in file OneClassPerFileSniff.php, class OneClassPerFileSniff
Checks that only one class is declared per file.
- OneInterfacePerFileSniff
- in file OneInterfacePerFileSniff.php, class OneInterfacePerFileSniff
Checks that only one interface is declared per file.
- OneObjectStructurePerFileSniff
- in file OneObjectStructurePerFileSniff.php, class OneObjectStructurePerFileSniff
Checks that only one object structure is declared per file.
- OneTraitPerFileSniff
- in file OneTraitPerFileSniff.php, class OneTraitPerFileSniff
Checks that only one trait is declared per file.
- OpacitySniff
- in file OpacitySniff.php, class OpacitySniff
Ensure that opacity values start with a 0 if it is not a whole number.
- OpeningBraceSameLineSniff
- in file OpeningBraceSameLineSniff.php, class OpeningBraceSameLineSniff
Checks that the opening brace of a class/interface/trait is on the same line as the class declaration.
- OpeningFunctionBraceBsdAllmanSniff
- in file OpeningFunctionBraceBsdAllmanSniff.php, class OpeningFunctionBraceBsdAllmanSniff
Checks that the opening brace of a function is on the line after the function declaration.
- OpeningFunctionBraceKernighanRitchieSniff
- in file OpeningFunctionBraceKernighanRitchieSniff.php, class OpeningFunctionBraceKernighanRitchieSniff
Checks that the opening brace of a function is on the same line as the function declaration.
- OperatorBracketSniff
- in file OperatorBracketSniff.php, class OperatorBracketSniff
Tests that all arithmetic operations are bracketed.
- OperatorSpacingSniff
- in file OperatorSpacingSniff.php, class OperatorSpacingSniff
Verifies that operators have valid spacing surrounding them.
- OpeningBraceSameLineSniff.php
- procedural page OpeningBraceSameLineSniff.php
- OneClassPerFileSniff.php
- procedural page OneClassPerFileSniff.php
- OneInterfacePerFileSniff.php
- procedural page OneInterfacePerFileSniff.php
- OneObjectStructurePerFileSniff.php
- procedural page OneObjectStructurePerFileSniff.php
- OneTraitPerFileSniff.php
- procedural page OneTraitPerFileSniff.php
- OpeningFunctionBraceBsdAllmanSniff.php
- procedural page OpeningFunctionBraceBsdAllmanSniff.php
- OpeningFunctionBraceKernighanRitchieSniff.php
- procedural page OpeningFunctionBraceKernighanRitchieSniff.php
- ObjectOperatorIndentSniff.php
- procedural page ObjectOperatorIndentSniff.php
- OpacitySniff.php
- procedural page OpacitySniff.php
- OperatorBracketSniff.php
- procedural page OperatorBracketSniff.php
- ObjectInstantiationSniff.php
- procedural page ObjectInstantiationSniff.php
- ObjectMemberCommaSniff.php
- procedural page ObjectMemberCommaSniff.php
- ObjectOperatorSpacingSniff.php
- procedural page ObjectOperatorSpacingSniff.php
- OperatorSpacingSniff.php
- procedural page OperatorSpacingSniff.php
top
p
- $parenthesisOpeners
- in file Tokens.php, variable Tokens::$parenthesisOpeners
Token types that open parenthesis.
- $path
- in file File.php, variable File::$path
The absolute path to the file associated with this object.
- $path
- in file Notifysend.php, variable Notifysend::$path
Path to notify-send command.
- $paths
- in file Ruleset.php, variable Ruleset::$paths
A list of file paths for the ruleset files being used.
- $patternMatch
- in file ForbiddenFunctionsSniff.php, variable ForbiddenFunctionsSniff::$patternMatch
If true, forbidden functions will be considered regular expressions.
- $patternMatch
- in file ForbiddenStylesSniff.php, variable ForbiddenStylesSniff::$patternMatch
If true, forbidden styles will be considered regular expressions.
- $properties
- in file SubversionPropertiesSniff.php, variable SubversionPropertiesSniff::$properties
The Subversion properties that should be set.
- parse
- in file File.php, method File::parse()
Tokenizes the file and prepares it for the test run.
- PHP
- in file PHP.php, class PHP
Tokenizes PHP code.
- PropertyDeclarationSniff.php
- procedural page PropertyDeclarationSniff.php
- PostStatementCommentSniff.php
- procedural page PostStatementCommentSniff.php
- PropertyLabelSpacingSniff.php
- procedural page PropertyLabelSpacingSniff.php
- PHP.php
- procedural page PHP.php
- populateTokenListeners
- in file Ruleset.php, method Ruleset::populateTokenListeners()
Populates the array of PHP_CodeSniffer_Sniff's for this file.
- PostStatementCommentSniff
- in file PostStatementCommentSniff.php, class PostStatementCommentSniff
Checks to ensure that there are no comments after statements.
- prepareError
- in file AbstractPatternSniff.php, method AbstractPatternSniff::prepareError()
Prepares an error for the specified patternCode.
- prepareFileReport
- in file Reporter.php, method Reporter::prepareFileReport()
Generate summary information to be used during report generation.
- prepareForOutput
- in file Common.php, method Common::prepareForOutput()
Prepares token content for output to screen.
- printCodeComparisonBlock
- in file HTML.php, method HTML::printCodeComparisonBlock()
Print a code comparison block found in a standard.
- printCodeComparisonBlock
- in file Text.php, method Text::printCodeComparisonBlock()
Print a code comparison block found in a standard.
- printCodeComparisonBlock
- in file Markdown.php, method Markdown::printCodeComparisonBlock()
Print a code comparison block found in a standard.
- printConfigData
- in file Config.php, method Config::printConfigData()
Prints out the gathered config data.
- printFooter
- in file HTML.php, method HTML::printFooter()
Print the footer of the HTML page.
- printFooter
- in file Markdown.php, method Markdown::printFooter()
Print the markdown footer.
- printHeader
- in file Markdown.php, method Markdown::printHeader()
Print the markdown header.
- printHeader
- in file HTML.php, method HTML::printHeader()
Print the header of the HTML page.
- printInstalledStandards
- in file Standards.php, method Standards::printInstalledStandards()
Prints out a list of installed coding standards.
- printPHPCBFUsage
- in file Config.php, method Config::printPHPCBFUsage()
Prints out the usage information for PHPCBF.
- printPHPCSUsage
- in file Config.php, method Config::printPHPCSUsage()
Prints out the usage information for PHPCS.
- printProgress
- in file Runner.php, method Runner::printProgress()
Print progress information for a single processed file.
- printReport
- in file Reporter.php, method Reporter::printReport()
Generates and prints a single final report.
- printReports
- in file Reporter.php, method Reporter::printReports()
Generates and prints final versions of all reports.
- printRunTime
- in file Timing.php, method Timing::printRunTime()
Print information about the run.
- printShortUsage
- in file Config.php, method Config::printShortUsage()
Prints out the short usage information for this script.
- printTextBlock
- in file Markdown.php, method Markdown::printTextBlock()
Print a text block found in a standard.
- printTextBlock
- in file HTML.php, method HTML::printTextBlock()
Print a text block found in a standard.
- printTextBlock
- in file Text.php, method Text::printTextBlock()
Print a text block found in a standard.
- printTitle
- in file Text.php, method Text::printTitle()
Prints the title area for a single sniff.
- printToc
- in file HTML.php, method HTML::printToc()
Print the table of contents for the standard.
- printUsage
- in file Config.php, method Config::printUsage()
Prints out the usage information for this script.
- process
- in file CallTimePassByReferenceSniff.php, method CallTimePassByReferenceSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ByteOrderMarkSniff.php, method ByteOrderMarkSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file BrowserSpecificStylesSniff.php, method BrowserSpecificStylesSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file MissingColonSniff.php, method MissingColonSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file LowercaseStyleDefinitionSniff.php, method LowercaseStyleDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file LowerCaseKeywordSniff.php, method LowerCaseKeywordSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file LowerCaseConstantSniff.php, method LowerCaseConstantSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file LowercaseDeclarationSniff.php, method LowercaseDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LowercasedFilenameSniff.php, method LowercasedFilenameSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file LowercaseFunctionKeywordsSniff.php, method LowercaseFunctionKeywordsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LowercasePHPFunctionsSniff.php, method LowercasePHPFunctionsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file MultiLineAssignmentSniff.php, method MultiLineAssignmentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file NoSpaceAfterCastSniff.php, method NoSpaceAfterCastSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file NoSilencedErrorsSniff.php, method NoSilencedErrorsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file BlockCommentSniff.php, method BlockCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ObjectInstantiationSniff.php, method ObjectInstantiationSniff::process()
Process the tokens that this sniff is listening for.
- process
- in file ObjectMemberCommaSniff.php, method ObjectMemberCommaSniff::process()
Process the tokens that this sniff is listening for.
- process
- in file NonExecutableCodeSniff.php, method NonExecutableCodeSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file NestingLevelSniff.php, method NestingLevelSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file MultiLineConditionSniff.php, method MultiLineConditionSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file MultipleStatementAlignmentSniff.php, method MultipleStatementAlignmentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file NamedColoursSniff.php, method NamedColoursSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file NamespaceDeclarationSniff.php, method NamespaceDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LowercaseClassKeywordsSniff.php, method LowercaseClassKeywordsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LogicalOperatorSpacingSniff.php, method LogicalOperatorSpacingSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file IndentationSniff.php, method IndentationSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file IncrementDecrementUsageSniff.php, method IncrementDecrementUsageSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file InlineCommentSniff.php, method InlineCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file InlineControlStructureSniff.php, method InlineControlStructureSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file InlineHTMLSniff.php, method InlineHTMLSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file IncludingFileSniff.php, method IncludingFileSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file IncludeOwnSystemSniff.php, method IncludeOwnSystemSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file GlobalKeywordSniff.php, method GlobalKeywordSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file HeredocSniff.php, method HeredocSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file CharacterBeforePHPOpeningTagSniff.php, method CharacterBeforePHPOpeningTagSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file CastSpacingSniff.php, method CastSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file InlineIfDeclarationSniff.php, method InlineIfDeclarationSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file InnerFunctionsSniff.php, method InnerFunctionsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LineEndingsSniff.php, method LineEndingsSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file LineLengthSniff.php, method LineLengthSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LocalFile.php, method LocalFile::process()
Processes the file.
- process
- in file ObjectOperatorIndentSniff.php, method ObjectOperatorIndentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file LanguageConstructSpacingSniff.php, method LanguageConstructSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClosingTagSniff.php, method ClosingTagSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file JavaScriptLintSniff.php, method JavaScriptLintSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file JoinStringsSniff.php, method JoinStringsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file JSHintSniff.php, method JSHintSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file JSLintSniff.php, method JSLintSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file LongConditionClosingCommentSniff.php, method LongConditionClosingCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OneClassPerFileSniff.php, method OneClassPerFileSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file SyntaxSniff.php, method SyntaxSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file SwitchDeclarationSniff.php, method SwitchDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file AbstractScopeSniff.php, method AbstractScopeSniff::process()
Processes the tokens that this test is listening for.
- process
- in file TodoSniff.php, method TodoSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file AbstractPatternSniff.php, method AbstractPatternSniff::process()
Processes the test.
- process
- in file SuperfluousWhitespaceSniff.php, method SuperfluousWhitespaceSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file SubversionPropertiesSniff.php, method SubversionPropertiesSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file SideEffectsSniff.php, method SideEffectsSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file Sniff.php, method Sniff::process()
Called when one of the token types that this sniff is listening for is found.
- process
- in file SpaceAfterCastSniff.php, method SpaceAfterCastSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file SpaceAfterNotSniff.php, method SpaceAfterNotSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UnconditionalIfStatementSniff.php, method UnconditionalIfStatementSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UnnecessaryFinalModifierSniff.php, method UnnecessaryFinalModifierSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UselessOverridingMethodSniff.php, method UselessOverridingMethodSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ValidClassNameSniff.php, method ValidClassNameSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ValidDefaultValueSniff.php, method ValidDefaultValueSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ValidLogicalOperatorsSniff.php, method ValidLogicalOperatorsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UseDeclarationSniff.php, method UseDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UpperCaseConstantSniff.php, method UpperCaseConstantSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file UnnecessaryStringConcatSniff.php, method UnnecessaryStringConcatSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file UnusedFunctionParameterSniff.php, method UnusedFunctionParameterSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file UnusedSystemSniff.php, method UnusedSystemSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file UpperCaseConstantNameSniff.php, method UpperCaseConstantNameSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ShorthandSizeSniff.php, method ShorthandSizeSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file SemicolonSpacingSniff.php, method SemicolonSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OpeningFunctionBraceKernighanRitchieSniff.php, method OpeningFunctionBraceKernighanRitchieSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OpeningFunctionBraceBsdAllmanSniff.php, method OpeningFunctionBraceBsdAllmanSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OperatorBracketSniff.php, method OperatorBracketSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OperatorSpacingSniff.php, method OperatorSpacingSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file BacktickOperatorSniff.php, method BacktickOperatorSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file OpeningBraceSameLineSniff.php, method OpeningBraceSameLineSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OpacitySniff.php, method OpacitySniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file GlobalFunctionSniff.php, method GlobalFunctionSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file OneInterfacePerFileSniff.php, method OneInterfacePerFileSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file OneObjectStructurePerFileSniff.php, method OneObjectStructurePerFileSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file OneTraitPerFileSniff.php, method OneTraitPerFileSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file AssignThisSniff.php, method AssignThisSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file AssignmentInConditionSniff.php, method AssignmentInConditionSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file SAPIUsageSniff.php, method SAPIUsageSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ScopeClosingBraceSniff.php, method ScopeClosingBraceSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ScopeIndentSniff.php, method ScopeIndentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ScopeKeywordSpacingSniff.php, method ScopeKeywordSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ReturnFunctionValueSniff.php, method ReturnFunctionValueSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file AjaxNullComparisonSniff.php, method AjaxNullComparisonSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file PostStatementCommentSniff.php, method PostStatementCommentSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file ArrayDeclarationSniff.php, method ArrayDeclarationSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file PropertyLabelSpacingSniff.php, method PropertyLabelSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ArrayBracketSpacingSniff.php, method ArrayBracketSpacingSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file ObjectOperatorSpacingSniff.php, method ObjectOperatorSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file JumbledIncrementerSniff.php, method JumbledIncrementerSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DocCommentSniff.php, method DocCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DocCommentAlignmentSniff.php, method DocCommentAlignmentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file GetRequestDataSniff.php, method GetRequestDataSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file DuplicateClassDefinitionSniff.php, method DuplicateClassDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file DuplicatePropertySniff.php, method DuplicatePropertySniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DuplicateClassNameSniff.php, method DuplicateClassNameSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowTabIndentSniff.php, method DisallowTabIndentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowSpaceIndentSniff.php, method DisallowSpaceIndentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowSelfActionsSniff.php, method DisallowSelfActionsSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file DisallowObjectStringIndexSniff.php, method DisallowObjectStringIndexSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowShortArraySyntaxSniff.php, method DisallowShortArraySyntaxSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowShortOpenTagSniff.php, method DisallowShortOpenTagSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowSizeFunctionsInLoopsSniff.php, method DisallowSizeFunctionsInLoopsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DuplicateStyleDefinitionSniff.php, method DuplicateStyleDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file EchoedStringsSniff.php, method EchoedStringsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ESLintSniff.php, method ESLintSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file EndFileNoNewlineSniff.php, method EndFileNoNewlineSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file EvalObjectFactorySniff.php, method EvalObjectFactorySniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file EvalSniff.php, method EvalSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClassDefinitionClosingBraceSpaceSniff.php, method ClassDefinitionClosingBraceSpaceSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file EndFileNewlineSniff.php, method EndFileNewlineSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file EmptyStyleDefinitionSniff.php, method EmptyStyleDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file EmbeddedPhpSniff.php, method EmbeddedPhpSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ElseIfDeclarationSniff.php, method ElseIfDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file EmptyCatchCommentSniff.php, method EmptyCatchCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file EmptyClassDefinitionSniff.php, method EmptyClassDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file EmptyStatementSniff.php, method EmptyStatementSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowObEndFlushSniff.php, method DisallowObEndFlushSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowNewWidgetSniff.php, method DisallowNewWidgetSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClosingDeclarationCommentSniff.php, method ClosingDeclarationCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ConcatenationSpacingSniff.php, method ConcatenationSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClassFileNameSniff.php, method ClassFileNameSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClassDefinitionOpeningBraceSpaceSniff.php, method ClassDefinitionOpeningBraceSpaceSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file ClassDefinitionNameSpacingSniff.php, method ClassDefinitionNameSpacingSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file ComparisonOperatorUsageSniff.php, method ComparisonOperatorUsageSniff::process()
Process the tokens that this sniff is listening for.
- process
- in file ClosingPHPTagSniff.php, method ClosingPHPTagSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file CodeAnalyzerSniff.php, method CodeAnalyzerSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file ClosureLinterSniff.php, method ClosureLinterSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file ColonSpacingSniff.php, method ColonSpacingSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file ColourDefinitionSniff.php, method ColourDefinitionSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file CommentedOutCodeSniff.php, method CommentedOutCodeSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ControlSignatureSniff.php, method ControlSignatureSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ControlStructureSpacingSniff.php, method ControlStructureSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowLongArraySyntaxSniff.php, method DisallowLongArraySyntaxSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowInlineIfSniff.php, method DisallowInlineIfSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowMultipleAssignmentsSniff.php, method DisallowMultipleAssignmentsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowMultipleStatementsSniff.php, method DisallowMultipleStatementsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowMultipleStyleDefinitionsSniff.php, method DisallowMultipleStyleDefinitionsSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file DisallowComparisonAssignmentSniff.php, method DisallowComparisonAssignmentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DisallowBooleanStatementSniff.php, method DisallowBooleanStatementSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file CSSLintSniff.php, method CSSLintSniff::process()
Processes the tokens that this sniff is interested in.
- process
- in file CreateWidgetTypeCallbackSniff.php, method CreateWidgetTypeCallbackSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file CyclomaticComplexitySniff.php, method CyclomaticComplexitySniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DebugCodeSniff.php, method DebugCodeSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file DisallowAlternativePHPTagsSniff.php, method DisallowAlternativePHPTagsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClassDeclarationSniff.php, method ClassDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file DoubleQuoteUsageSniff.php, method DoubleQuoteUsageSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionClosingBraceSniff.php, method FunctionClosingBraceSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file ForbiddenFunctionsSniff.php, method ForbiddenFunctionsSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FixmeSniff.php, method FixmeSniff::process()
Processes this sniff, when one of its tokens is encountered.
- process
- in file FirebugConsoleSniff.php, method FirebugConsoleSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FileExtensionSniff.php, method FileExtensionSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionClosingBraceSpaceSniff.php, method FunctionClosingBraceSpaceSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ClassCommentSniff.php, method ClassCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ForbiddenStylesSniff.php, method ForbiddenStylesSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ForLoopWithTestFunctionCallSniff.php, method ForLoopWithTestFunctionCallSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionCallArgumentSpacingSniff.php, method FunctionCallArgumentSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ForLoopShouldBeWhileLoopSniff.php, method ForLoopShouldBeWhileLoopSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ForLoopDeclarationSniff.php, method ForLoopDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file ForEachLoopDeclarationSniff.php, method ForEachLoopDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionCallSignatureSniff.php, method FunctionCallSignatureSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FileCommentSniff.php, method FileCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionDuplicateArgumentSniff.php, method FunctionDuplicateArgumentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionOpeningBraceSpaceSniff.php, method FunctionOpeningBraceSpaceSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionSpacingSniff.php, method FunctionSpacingSniff::process()
Processes this sniff when one of its tokens is encountered.
- process
- in file File.php, method File::process()
Starts the stack traversal and tells listeners when tokens are found.
- process
- in file FunctionDeclarationSniff.php, method FunctionDeclarationSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionCommentSniff.php, method FunctionCommentSniff::process()
Processes this test, when one of its tokens is encountered.
- process
- in file FunctionDeclarationArgumentSpacingSniff.php, method FunctionDeclarationArgumentSpacingSniff::process()
Processes this test, when one of its tokens is encountered.
- processAdditional
- in file PHP.php, method PHP::processAdditional()
Performs additional processing after main tokenizing.
- processAdditional
- in file CSS.php, method CSS::processAdditional()
Performs additional processing after main tokenizing.
- processAdditional
- in file JS.php, method JS::processAdditional()
Performs additional processing after main tokenizing.
- processAdditional
- in file Tokenizer.php, method Tokenizer::processAdditional()
Performs additional processing after main tokenizing.
- processAssignment
- in file IncrementDecrementUsageSniff.php, method IncrementDecrementUsageSniff::processAssignment()
Checks to ensure increment and decrement operators are used.
- processBracket
- in file MultiLineFunctionDeclarationSniff.php, method MultiLineFunctionDeclarationSniff::processBracket()
Processes the contents of a single set of brackets.
- processBracket
- in file FunctionDeclarationArgumentSpacingSniff.php, method FunctionDeclarationArgumentSpacingSniff::processBracket()
Processes the contents of a single set of brackets.
- processFile
- in file Runner.php, method Runner::processFile()
Processes a single file, including checking and fixing.
- processFilePath
- in file Config.php, method Config::processFilePath()
Processes a file path and add it to the file list.
- processIncDec
- in file IncrementDecrementUsageSniff.php, method IncrementDecrementUsageSniff::processIncDec()
Checks to ensure increment and decrement operators are not confusing.
- processLongArgument
- in file Config.php, method Config::processLongArgument()
Processes a long (--example) command line argument.
- processMemberVar
- in file MemberVarSpacingSniff.php, method MemberVarSpacingSniff::processMemberVar()
Processes the function tokens within the class.
- processMemberVar
- in file MemberVarScopeSniff.php, method MemberVarScopeSniff::processMemberVar()
Processes the function tokens within the class.
- processMemberVar
- in file AbstractVariableSniff.php, method AbstractVariableSniff::processMemberVar()
Called to process class member vars.
- processMemberVar
- in file VariableCommentSniff.php, method VariableCommentSniff::processMemberVar()
Called to process class member vars.
- processMemberVar
- in file PropertyDeclarationSniff.php, method PropertyDeclarationSniff::processMemberVar()
Processes the function tokens within the class.
- processMemberVar
- in file ValidVariableNameSniff.php, method ValidVariableNameSniff::processMemberVar()
Processes class member variables.
- processMultiLineArray
- in file ArrayDeclarationSniff.php, method ArrayDeclarationSniff::processMultiLineArray()
Processes a multi-line array definition.
- processMultiLineCall
- in file FunctionCallSignatureSniff.php, method FunctionCallSignatureSniff::processMultiLineCall()
Processes multi-line calls.
- processMultiLineDeclaration
- in file FunctionDeclarationSniff.php, method FunctionDeclarationSniff::processMultiLineDeclaration()
Processes multi-line declarations.
- processMultiLineDeclaration
- in file MultiLineFunctionDeclarationSniff.php, method MultiLineFunctionDeclarationSniff::processMultiLineDeclaration()
Processes multi-line declarations.
- processParams
- in file FunctionCommentSniff.php, method FunctionCommentSniff::processParams()
Process the function parameter comments.
- processPattern
- in file AbstractPatternSniff.php, method AbstractPatternSniff::processPattern()
Processes the pattern and verifies the code at $stackPtr.
- processReturn
- in file FunctionCommentSniff.php, method FunctionCommentSniff::processReturn()
Process the return comment of this function comment.
- processRuleset
- in file Ruleset.php, method Ruleset::processRuleset()
Processes a single ruleset and returns a list of the sniffs it represents.
- processShortArgument
- in file Config.php, method Config::processShortArgument()
Processes a short (-e) command line argument.
- processSingleLineArray
- in file ArrayDeclarationSniff.php, method ArrayDeclarationSniff::processSingleLineArray()
Processes a single-line array definition.
- processSingleLineCall
- in file FunctionCallSignatureSniff.php, method FunctionCallSignatureSniff::processSingleLineCall()
Processes single-line calls.
- processSingleLineDeclaration
- in file FunctionDeclarationSniff.php, method FunctionDeclarationSniff::processSingleLineDeclaration()
Processes single-line declarations.
- processSniff
- in file Generator.php, method Generator::processSniff()
Process the documentation for a single sniff.
- processSniff
- in file HTML.php, method HTML::processSniff()
Process the documentation for a single sniff.
- processSniff
- in file Text.php, method Text::processSniff()
Process the documentation for a single sniff.
- processSniff
- in file Markdown.php, method Markdown::processSniff()
Process the documentation for a single sniff.
- processSupplementary
- in file AbstractPatternSniff.php, method AbstractPatternSniff::processSupplementary()
Processes any tokens registered with registerSupplementary().
- processThrows
- in file FunctionCommentSniff.php, method FunctionCommentSniff::processThrows()
Process any throw tags that this function comment has.
- processTokenOutsideScope
- in file MethodDeclarationSniff.php, method MethodDeclarationSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenOutsideScope
- in file ConstructorNameSniff.php, method ConstructorNameSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenOutsideScope
- in file AbstractScopeSniff.php, method AbstractScopeSniff::processTokenOutsideScope()
Processes a token that is found outside the scope that this test is listening to.
- processTokenOutsideScope
- in file MethodScopeSniff.php, method MethodScopeSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenOutsideScope
- in file ValidFunctionNameSniff.php, method ValidFunctionNameSniff::processTokenOutsideScope()
Processes the tokens outside the scope.
- processTokenOutsideScope
- in file CamelCapsFunctionNameSniff.php, method CamelCapsFunctionNameSniff::processTokenOutsideScope()
Processes the tokens outside the scope.
- processTokenOutsideScope
- in file IncludeSystemSniff.php, method IncludeSystemSniff::processTokenOutsideScope()
Processes a token within the scope that this test is listening to.
- processTokenOutsideScope
- in file AbstractVariableSniff.php, method AbstractVariableSniff::processTokenOutsideScope()
Processes the token outside the scope in the file.
- processTokenOutsideScope
- in file CamelCapsMethodNameSniff.php, method CamelCapsMethodNameSniff::processTokenOutsideScope()
Processes the tokens outside the scope.
- processTokenOutsideScope
- in file StaticThisUsageSniff.php, method StaticThisUsageSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenOutsideScope
- in file SelfMemberReferenceSniff.php, method SelfMemberReferenceSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenOutsideScope
- in file FunctionCommentThrowTagSniff.php, method FunctionCommentThrowTagSniff::processTokenOutsideScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenWithinScope
- in file ValidFunctionNameSniff.php, method ValidFunctionNameSniff::processTokenWithinScope()
Processes the tokens within the scope.
- processTokenWithinScope
- in file MethodDeclarationSniff.php, method MethodDeclarationSniff::processTokenWithinScope()
Processes the function tokens within the class.
- processTokenWithinScope
- in file CamelCapsFunctionNameSniff.php, method CamelCapsFunctionNameSniff::processTokenWithinScope()
Processes the tokens within the scope.
- processTokenWithinScope
- in file CamelCapsMethodNameSniff.php, method CamelCapsMethodNameSniff::processTokenWithinScope()
Processes the tokens within the scope.
- processTokenWithinScope
- in file IncludeSystemSniff.php, method IncludeSystemSniff::processTokenWithinScope()
Processes the function tokens within the class.
- processTokenWithinScope
- in file StaticThisUsageSniff.php, method StaticThisUsageSniff::processTokenWithinScope()
Processes this test, when one of its tokens is encountered.
- processTokenWithinScope
- in file SelfMemberReferenceSniff.php, method SelfMemberReferenceSniff::processTokenWithinScope()
Processes the function tokens within the class.
- processTokenWithinScope
- in file MethodScopeSniff.php, method MethodScopeSniff::processTokenWithinScope()
Processes the function tokens within the class.
- processTokenWithinScope
- in file FunctionCommentThrowTagSniff.php, method FunctionCommentThrowTagSniff::processTokenWithinScope()
Processes the function tokens within the class.
- processTokenWithinScope
- in file AbstractVariableSniff.php, method AbstractVariableSniff::processTokenWithinScope()
Processes the token in the specified PHP_CodeSniffer_File.
- processTokenWithinScope
- in file AbstractScopeSniff.php, method AbstractScopeSniff::processTokenWithinScope()
Processes a token that is found within the scope that this test is listening to.
- processTokenWithinScope
- in file ConstructorNameSniff.php, method ConstructorNameSniff::processTokenWithinScope()
Processes this test when one of its tokens is encountered.
- processUnknownArgument
- in file Config.php, method Config::processUnknownArgument()
Processes an unknown command line argument.
- processVariable
- in file MemberVarSpacingSniff.php, method MemberVarSpacingSniff::processVariable()
Processes normal variables.
- processVariable
- in file ValidVariableNameSniff.php, method ValidVariableNameSniff::processVariable()
Processes this test, when one of its tokens is encountered.
- processVariable
- in file AbstractVariableSniff.php, method AbstractVariableSniff::processVariable()
Called to process normal member vars.
- processVariable
- in file MemberVarScopeSniff.php, method MemberVarScopeSniff::processVariable()
Processes normal variables.
- processVariable
- in file VariableCommentSniff.php, method VariableCommentSniff::processVariable()
Called to process a normal variable.
- processVariable
- in file PropertyDeclarationSniff.php, method PropertyDeclarationSniff::processVariable()
Processes normal variables.
- processVariableInString
- in file VariableCommentSniff.php, method VariableCommentSniff::processVariableInString()
Called to process variables found in double quoted strings.
- processVariableInString
- in file ValidVariableNameSniff.php, method ValidVariableNameSniff::processVariableInString()
Processes the variable found within a double quoted string.
- processVariableInString
- in file AbstractVariableSniff.php, method AbstractVariableSniff::processVariableInString()
Called to process variables found in double quoted strings or heredocs.
- processVariableInString
- in file PropertyDeclarationSniff.php, method PropertyDeclarationSniff::processVariableInString()
Processes variables in double quoted strings.
- processVariableInString
- in file MemberVarScopeSniff.php, method MemberVarScopeSniff::processVariableInString()
Processes variables in double quoted strings.
- processVariableInString
- in file MemberVarSpacingSniff.php, method MemberVarSpacingSniff::processVariableInString()
Processes variables in double quoted strings.
- processVersion
- in file ClassCommentSniff.php, method ClassCommentSniff::processVersion()
Process the version tag.
- PropertyDeclarationSniff
- in file PropertyDeclarationSniff.php, class PropertyDeclarationSniff
Verifies that properties are declared correctly.
- PropertyLabelSpacingSniff
- in file PropertyLabelSpacingSniff.php, class PropertyLabelSpacingSniff
Ensures that a property or label colon has a single space after it and no space before it.
top
r
- $reporter
- in file Runner.php, variable Runner::$reporter
The reporter used for generating reports after the run.
- $reportName
- in file Hgblame.php, variable Hgblame::$reportName
The name of the report we want in the output
- $reportName
- in file Gitblame.php, variable Gitblame::$reportName
The name of the report we want in the output
- $reportName
- in file Svnblame.php, variable Svnblame::$reportName
The name of the report we want in the output
- $reportName
- in file VersionControl.php, variable VersionControl::$reportName
The name of the report we want in the output.
- $requiredSpacesAfterOpen
- in file ForLoopDeclarationSniff.php, variable ForLoopDeclarationSniff::$requiredSpacesAfterOpen
How many spaces should follow the opening bracket.
- $requiredSpacesAfterOpen
- in file ForEachLoopDeclarationSniff.php, variable ForEachLoopDeclarationSniff::$requiredSpacesAfterOpen
How many spaces should follow the opening bracket.
- $requiredSpacesAfterOpen
- in file FunctionCallSignatureSniff.php, variable FunctionCallSignatureSniff::$requiredSpacesAfterOpen
How many spaces should follow the opening bracket.
- $requiredSpacesAfterOpen
- in file ControlStructureSpacingSniff.php, variable ControlStructureSpacingSniff::$requiredSpacesAfterOpen
How many spaces should follow the opening bracket.
- $requiredSpacesAfterOpen
- in file FunctionDeclarationArgumentSpacingSniff.php, variable FunctionDeclarationArgumentSpacingSniff::$requiredSpacesAfterOpen
How many spaces should follow the opening bracket.
- $requiredSpacesBeforeClose
- in file ForEachLoopDeclarationSniff.php, variable ForEachLoopDeclarationSniff::$requiredSpacesBeforeClose
How many spaces should precede the closing bracket.
- $requiredSpacesBeforeClose
- in file ControlStructureSpacingSniff.php, variable ControlStructureSpacingSniff::$requiredSpacesBeforeClose
How many spaces should precede the closing bracket.
- $requiredSpacesBeforeClose
- in file FunctionCallSignatureSniff.php, variable FunctionCallSignatureSniff::$requiredSpacesBeforeClose
How many spaces should precede the closing bracket.
- $requiredSpacesBeforeClose
- in file ForLoopDeclarationSniff.php, variable ForLoopDeclarationSniff::$requiredSpacesBeforeClose
How many spaces should precede the closing bracket.
- $requiredSpacesBeforeClose
- in file FunctionDeclarationArgumentSpacingSniff.php, variable FunctionDeclarationArgumentSpacingSniff::$requiredSpacesBeforeClose
How many spaces should precede the closing bracket.
- $ruleset
- in file FileList.php, variable FileList::$ruleset
The ruleset used for the run.
- $ruleset
- in file File.php, variable File::$ruleset
The ruleset used for the run.
- $ruleset
- in file Filter.php, variable Filter::$ruleset
The ruleset used for the run.
- $ruleset
- in file Ruleset.php, variable Ruleset::$ruleset
An array of rules from the ruleset.xml file.
- $ruleset
- in file Runner.php, variable Runner::$ruleset
The ruleset used for the run.
- $ruleset
- in file Generator.php, variable Generator::$ruleset
The ruleset used for the run.
- $rulesetDirs
- in file Ruleset.php, variable Ruleset::$rulesetDirs
The directories that the processed rulesets are in.
- RuntimeException.php
- procedural page RuntimeException.php
- Reporter.php
- procedural page Reporter.php
- Report.php
- procedural page Report.php
- Ruleset.php
- procedural page Ruleset.php
- Runner.php
- procedural page Runner.php
- ReturnFunctionValueSniff.php
- procedural page ReturnFunctionValueSniff.php
- realpath
- in file Common.php, method Common::realpath()
CodeSniffer alternative for realpath.
- recordMetric
- in file File.php, method File::recordMetric()
Adds an warning to the warning stack.
- register
- in file InlineHTMLSniff.php, method InlineHTMLSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowerCaseConstantSniff.php, method LowerCaseConstantSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file GlobalFunctionSniff.php, method GlobalFunctionSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LongConditionClosingCommentSniff.php, method LongConditionClosingCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LogicalOperatorSpacingSniff.php, method LogicalOperatorSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowercaseClassKeywordsSniff.php, method LowercaseClassKeywordsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowercaseDeclarationSniff.php, method LowercaseDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file MissingColonSniff.php, method MissingColonSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file MultiLineAssignmentSniff.php, method MultiLineAssignmentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file MultiLineConditionSniff.php, method MultiLineConditionSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file MultipleStatementAlignmentSniff.php, method MultipleStatementAlignmentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowercaseStyleDefinitionSniff.php, method LowercaseStyleDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file LowercasePHPFunctionsSniff.php, method LowercasePHPFunctionsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowercasedFilenameSniff.php, method LowercasedFilenameSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowercaseFunctionKeywordsSniff.php, method LowercaseFunctionKeywordsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LowerCaseKeywordSniff.php, method LowerCaseKeywordSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LineLengthSniff.php, method LineLengthSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LanguageConstructSpacingSniff.php, method LanguageConstructSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file JSLintSniff.php, method JSLintSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file InnerFunctionsSniff.php, method InnerFunctionsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file NamedColoursSniff.php, method NamedColoursSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file JSHintSniff.php, method JSHintSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file JoinStringsSniff.php, method JoinStringsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file IndentationSniff.php, method IndentationSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file JavaScriptLintSniff.php, method JavaScriptLintSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file IncrementDecrementUsageSniff.php, method IncrementDecrementUsageSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file IncludingFileSniff.php, method IncludingFileSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file InlineIfDeclarationSniff.php, method InlineIfDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file InlineCommentSniff.php, method InlineCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file LineEndingsSniff.php, method LineEndingsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file JumbledIncrementerSniff.php, method JumbledIncrementerSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file HeredocSniff.php, method HeredocSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file IncludeOwnSystemSniff.php, method IncludeOwnSystemSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file InlineControlStructureSniff.php, method InlineControlStructureSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file GlobalKeywordSniff.php, method GlobalKeywordSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ObjectOperatorIndentSniff.php, method ObjectOperatorIndentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SuperfluousWhitespaceSniff.php, method SuperfluousWhitespaceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SubversionPropertiesSniff.php, method SubversionPropertiesSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SwitchDeclarationSniff.php, method SwitchDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SyntaxSniff.php, method SyntaxSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file TodoSniff.php, method TodoSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SpaceAfterNotSniff.php, method SpaceAfterNotSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SpaceAfterCastSniff.php, method SpaceAfterCastSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SemicolonSpacingSniff.php, method SemicolonSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ShorthandSizeSniff.php, method ShorthandSizeSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file SideEffectsSniff.php, method SideEffectsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file Sniff.php, method Sniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file UnconditionalIfStatementSniff.php, method UnconditionalIfStatementSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file UnnecessaryFinalModifierSniff.php, method UnnecessaryFinalModifierSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file UselessOverridingMethodSniff.php, method UselessOverridingMethodSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file ValidClassNameSniff.php, method ValidClassNameSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ValidDefaultValueSniff.php, method ValidDefaultValueSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ValidLogicalOperatorsSniff.php, method ValidLogicalOperatorsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UseDeclarationSniff.php, method UseDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UpperCaseConstantSniff.php, method UpperCaseConstantSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UnnecessaryStringConcatSniff.php, method UnnecessaryStringConcatSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UnusedFunctionParameterSniff.php, method UnusedFunctionParameterSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UnusedSystemSniff.php, method UnusedSystemSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file UpperCaseConstantNameSniff.php, method UpperCaseConstantNameSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ScopeKeywordSpacingSniff.php, method ScopeKeywordSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ScopeIndentSniff.php, method ScopeIndentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ObjectOperatorSpacingSniff.php, method ObjectOperatorSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file GetRequestDataSniff.php, method GetRequestDataSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OneClassPerFileSniff.php, method OneClassPerFileSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OneInterfacePerFileSniff.php, method OneInterfacePerFileSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OneObjectStructurePerFileSniff.php, method OneObjectStructurePerFileSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ObjectMemberCommaSniff.php, method ObjectMemberCommaSniff::register()
Registers the token types that this sniff wishes to listen to.
- register
- in file ObjectInstantiationSniff.php, method ObjectInstantiationSniff::register()
Registers the token types that this sniff wishes to listen to.
- register
- in file NestingLevelSniff.php, method NestingLevelSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file NonExecutableCodeSniff.php, method NonExecutableCodeSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file NoSilencedErrorsSniff.php, method NoSilencedErrorsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file NoSpaceAfterCastSniff.php, method NoSpaceAfterCastSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OneTraitPerFileSniff.php, method OneTraitPerFileSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OpacitySniff.php, method OpacitySniff::register()
Returns the token types that this sniff is interested in.
- register
- in file PropertyLabelSpacingSniff.php, method PropertyLabelSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ReturnFunctionValueSniff.php, method ReturnFunctionValueSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file SAPIUsageSniff.php, method SAPIUsageSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ScopeClosingBraceSniff.php, method ScopeClosingBraceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file PostStatementCommentSniff.php, method PostStatementCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OperatorSpacingSniff.php, method OperatorSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OpeningBraceSameLineSniff.php, method OpeningBraceSameLineSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file OpeningFunctionBraceBsdAllmanSniff.php, method OpeningFunctionBraceBsdAllmanSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file OpeningFunctionBraceKernighanRitchieSniff.php, method OpeningFunctionBraceKernighanRitchieSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file OperatorBracketSniff.php, method OperatorBracketSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file NamespaceDeclarationSniff.php, method NamespaceDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionOpeningBraceSpaceSniff.php, method FunctionOpeningBraceSpaceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file CreateWidgetTypeCallbackSniff.php, method CreateWidgetTypeCallbackSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ControlStructureSpacingSniff.php, method ControlStructureSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file CSSLintSniff.php, method CSSLintSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file CyclomaticComplexitySniff.php, method CyclomaticComplexitySniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DebugCodeSniff.php, method DebugCodeSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ControlSignatureSniff.php, method ControlSignatureSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ConcatenationSpacingSniff.php, method ConcatenationSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ColonSpacingSniff.php, method ColonSpacingSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file ColourDefinitionSniff.php, method ColourDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file CommentedOutCodeSniff.php, method CommentedOutCodeSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ComparisonOperatorUsageSniff.php, method ComparisonOperatorUsageSniff::register()
Registers the token types that this sniff wishes to listen to.
- register
- in file DisallowAlternativePHPTagsSniff.php, method DisallowAlternativePHPTagsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowBooleanStatementSniff.php, method DisallowBooleanStatementSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowNewWidgetSniff.php, method DisallowNewWidgetSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowObEndFlushSniff.php, method DisallowObEndFlushSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowObjectStringIndexSniff.php, method DisallowObjectStringIndexSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowSelfActionsSniff.php, method DisallowSelfActionsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionSpacingSniff.php, method FunctionSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowMultipleStatementsSniff.php, method DisallowMultipleStatementsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowComparisonAssignmentSniff.php, method DisallowComparisonAssignmentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowInlineIfSniff.php, method DisallowInlineIfSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowLongArraySyntaxSniff.php, method DisallowLongArraySyntaxSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file DisallowMultipleAssignmentsSniff.php, method DisallowMultipleAssignmentsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file CodeAnalyzerSniff.php, method CodeAnalyzerSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file ClosureLinterSniff.php, method ClosureLinterSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file BacktickOperatorSniff.php, method BacktickOperatorSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file BlockCommentSniff.php, method BlockCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file BrowserSpecificStylesSniff.php, method BrowserSpecificStylesSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file ByteOrderMarkSniff.php, method ByteOrderMarkSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file AssignThisSniff.php, method AssignThisSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file AssignmentInConditionSniff.php, method AssignmentInConditionSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file AbstractScopeSniff.php, method AbstractScopeSniff::register()
The method that is called to register the tokens this test wishes to listen to.
- register
- in file AjaxNullComparisonSniff.php, method AjaxNullComparisonSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ArrayBracketSpacingSniff.php, method ArrayBracketSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ArrayDeclarationSniff.php, method ArrayDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file CallTimePassByReferenceSniff.php, method CallTimePassByReferenceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file CastSpacingSniff.php, method CastSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClassFileNameSniff.php, method ClassFileNameSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClosingDeclarationCommentSniff.php, method ClosingDeclarationCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClosingPHPTagSniff.php, method ClosingPHPTagSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClosingTagSniff.php, method ClosingTagSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClassDefinitionOpeningBraceSpaceSniff.php, method ClassDefinitionOpeningBraceSpaceSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file ClassDefinitionNameSpacingSniff.php, method ClassDefinitionNameSpacingSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file CharacterBeforePHPOpeningTagSniff.php, method CharacterBeforePHPOpeningTagSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClassCommentSniff.php, method ClassCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClassDeclarationSniff.php, method ClassDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ClassDefinitionClosingBraceSpaceSniff.php, method ClassDefinitionClosingBraceSpaceSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file DisallowShortArraySyntaxSniff.php, method DisallowShortArraySyntaxSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file DisallowMultipleStyleDefinitionsSniff.php, method DisallowMultipleStyleDefinitionsSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file FixmeSniff.php, method FixmeSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FirebugConsoleSniff.php, method FirebugConsoleSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForbiddenFunctionsSniff.php, method ForbiddenFunctionsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForbiddenStylesSniff.php, method ForbiddenStylesSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForEachLoopDeclarationSniff.php, method ForEachLoopDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FileExtensionSniff.php, method FileExtensionSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FileCommentSniff.php, method FileCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowShortOpenTagSniff.php, method DisallowShortOpenTagSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ESLintSniff.php, method ESLintSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file EvalObjectFactorySniff.php, method EvalObjectFactorySniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EvalSniff.php, method EvalSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForLoopDeclarationSniff.php, method ForLoopDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForLoopShouldBeWhileLoopSniff.php, method ForLoopShouldBeWhileLoopSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file FunctionDeclarationArgumentSpacingSniff.php, method FunctionDeclarationArgumentSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionDeclarationSniff.php, method FunctionDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionDuplicateArgumentSniff.php, method FunctionDuplicateArgumentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file AbstractPatternSniff.php, method AbstractPatternSniff::register()
Registers the tokens to listen to.
- register
- in file FunctionCommentSniff.php, method FunctionCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionClosingBraceSpaceSniff.php, method FunctionClosingBraceSpaceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ForLoopWithTestFunctionCallSniff.php, method ForLoopWithTestFunctionCallSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file FunctionCallArgumentSpacingSniff.php, method FunctionCallArgumentSpacingSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionCallSignatureSniff.php, method FunctionCallSignatureSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file FunctionClosingBraceSniff.php, method FunctionClosingBraceSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EndFileNewlineSniff.php, method EndFileNewlineSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EndFileNoNewlineSniff.php, method EndFileNoNewlineSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EchoedStringsSniff.php, method EchoedStringsSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file ElseIfDeclarationSniff.php, method ElseIfDeclarationSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DocCommentAlignmentSniff.php, method DocCommentAlignmentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DocCommentSniff.php, method DocCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DuplicateStyleDefinitionSniff.php, method DuplicateStyleDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file DuplicatePropertySniff.php, method DuplicatePropertySniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DoubleQuoteUsageSniff.php, method DoubleQuoteUsageSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DuplicateClassDefinitionSniff.php, method DuplicateClassDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file DuplicateClassNameSniff.php, method DuplicateClassNameSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file EmptyCatchCommentSniff.php, method EmptyCatchCommentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EmbeddedPhpSniff.php, method EmbeddedPhpSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EmptyStyleDefinitionSniff.php, method EmptyStyleDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file EmptyStatementSniff.php, method EmptyStatementSniff::register()
Registers the tokens that this sniff wants to listen for.
- register
- in file DisallowTabIndentSniff.php, method DisallowTabIndentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file DisallowSpaceIndentSniff.php, method DisallowSpaceIndentSniff::register()
Returns an array of tokens this test wants to listen for.
- register
- in file EmptyClassDefinitionSniff.php, method EmptyClassDefinitionSniff::register()
Returns the token types that this sniff is interested in.
- register
- in file DisallowSizeFunctionsInLoopsSniff.php, method DisallowSizeFunctionsInLoopsSniff::register()
Returns an array of tokens this test wants to listen for.
- registerSniffs
- in file Ruleset.php, method Ruleset::registerSniffs()
Loads and stores sniffs objects used for sniffing files.
- registerSupplementary
- in file AbstractPatternSniff.php, method AbstractPatternSniff::registerSupplementary()
Registers any supplementary tokens that this test might wish to process.
- reloadContent
- in file File.php, method File::reloadContent()
Reloads the content of the file.
- reloadContent
- in file LocalFile.php, method LocalFile::reloadContent()
Loads the latest version of the file's content from the file system.
- replaceTabsInToken
- in file Tokenizer.php, method Tokenizer::replaceTabsInToken()
Replaces tabs in original token content with spaces.
- replaceToken
- in file Fixer.php, method Fixer::replaceToken()
Replace the entire contents of a token.
- Report
- in file Report.php, class Report
An interface that PHP_CodeSniffer reports must implement.
- Reporter
- in file Reporter.php, class Reporter
Manages reporting of errors and warnings.
- resolveSimpleToken
- in file PHP.php, method PHP::resolveSimpleToken()
Converts simple tokens into a format that conforms to complex tokens produced by token_get_all().
- restoreDefaults
- in file Config.php, method Config::restoreDefaults()
Restore default values for all possible command line arguments.
- ReturnFunctionValueSniff
- in file ReturnFunctionValueSniff.php, class ReturnFunctionValueSniff
Warns when function values are returned directly.
- revertToken
- in file Fixer.php, method Fixer::revertToken()
Reverts the previous fix made to a token.
- rewind
- in file FileList.php, method FileList::rewind()
Rewind the iterator to the first file.
- rollbackChangeset
- in file Fixer.php, method Fixer::rollbackChangeset()
Stop recording actions for a changeset, and discard logged changes.
- Ruleset
- in file Ruleset.php, class Ruleset
Stores the rules used to check and fix files.
- Runner
- in file Runner.php, class Runner
Responsible for running PHPCS and PHPCBF.
- runPHPCBF
- in file Runner.php, method Runner::runPHPCBF()
Run the PHPCBF script.
- runPHPCS
- in file Runner.php, method Runner::runPHPCS()
Run the PHPCS script.
- RuntimeException
- in file RuntimeException.php, class RuntimeException
An exception thrown by PHP_CodeSniffer when it encounters an unrecoverable error.
top
s
- $scopeModifiers
- in file Tokens.php, variable Tokens::$scopeModifiers
Tokens that represent scope modifiers.
- $scopeOpeners
- in file PHP.php, variable PHP::$scopeOpeners
A list of tokens that are allowed to open a scope.
- $scopeOpeners
- in file JS.php, variable JS::$scopeOpeners
A list of tokens that are allowed to open a scope.
- $scopeOpeners
- in file Tokens.php, variable Tokens::$scopeOpeners
Tokens that are allowed to open scopes.
- $showOk
- in file Notifysend.php, variable Notifysend::$showOk
Show "ok, all fine" messages.
- $sniffCodes
- in file Ruleset.php, variable Ruleset::$sniffCodes
A mapping of sniff codes to fully qualified class names.
- $sniffs
- in file Ruleset.php, variable Ruleset::$sniffs
An array of sniff objects that are being used to check files.
- $spacing
- in file ConcatenationSpacingSniff.php, variable ConcatenationSpacingSniff::$spacing
The number of spaces before and after a string concat.
- $spacing
- in file MemberVarSpacingSniff.php, variable MemberVarSpacingSniff::$spacing
The number of blank lines between member vars.
- $spacing
- in file FunctionSpacingSniff.php, variable FunctionSpacingSniff::$spacing
The number of blank lines between functions.
- $spacingBeforeFirst
- in file MemberVarSpacingSniff.php, variable MemberVarSpacingSniff::$spacingBeforeFirst
The number of blank lines before the fist member var.
- $specificStylesheets
- in file BrowserSpecificStylesSniff.php, variable BrowserSpecificStylesSniff::$specificStylesheets
A list of specific stylesheet suffixes we allow.
- $startTime
- in file Reporter.php, variable Reporter::$startTime
When the PHPCS run started.
- $strict
- in file CamelCapsFunctionNameSniff.php, variable CamelCapsFunctionNameSniff::$strict
If TRUE, the string must not have two capital letters next to each other.
- $stringTokens
- in file JS.php, variable JS::$stringTokens
A list string delimiters.
- $stringTokens
- in file Tokens.php, variable Tokens::$stringTokens
Tokens that represent strings.
- $supportedTokenizers
- in file LowerCaseConstantSniff.php, variable LowerCaseConstantSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file LowercaseStyleDefinitionSniff.php, variable LowercaseStyleDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file LineEndingsSniff.php, variable LineEndingsSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file LogicalOperatorSpacingSniff.php, variable LogicalOperatorSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file LongConditionClosingCommentSniff.php, variable LongConditionClosingCommentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file JSLintSniff.php, variable JSLintSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file InlineControlStructureSniff.php, variable InlineControlStructureSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FunctionOpeningBraceSpaceSniff.php, variable FunctionOpeningBraceSpaceSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FunctionDeclarationSniff.php, variable FunctionDeclarationSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FunctionClosingBraceSpaceSniff.php, variable FunctionClosingBraceSpaceSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file IndentationSniff.php, variable IndentationSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file InlineCommentSniff.php, variable InlineCommentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file JoinStringsSniff.php, variable JoinStringsSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file JavaScriptLintSniff.php, variable JavaScriptLintSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file JSHintSniff.php, variable JSHintSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file MultiLineFunctionDeclarationSniff.php, variable MultiLineFunctionDeclarationSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file PropertyLabelSpacingSniff.php, variable PropertyLabelSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file PostStatementCommentSniff.php, variable PostStatementCommentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file SemicolonSpacingSniff.php, variable SemicolonSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ShorthandSizeSniff.php, variable ShorthandSizeSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file TodoSniff.php, variable TodoSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file SuperfluousWhitespaceSniff.php, variable SuperfluousWhitespaceSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file SpaceAfterNotSniff.php, variable SpaceAfterNotSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file UnnecessaryStringConcatSniff.php, variable UnnecessaryStringConcatSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file OperatorSpacingSniff.php, variable OperatorSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file NamedColoursSniff.php, variable NamedColoursSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file MultipleStatementAlignmentSniff.php, variable MultipleStatementAlignmentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file MultiLineConditionSniff.php, variable MultiLineConditionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FunctionCallSignatureSniff.php, variable FunctionCallSignatureSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ObjectMemberCommaSniff.php, variable ObjectMemberCommaSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file OperatorBracketSniff.php, variable OperatorBracketSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file OpacitySniff.php, variable OpacitySniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file AssignThisSniff.php, variable AssignThisSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file MissingColonSniff.php, variable MissingColonSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowObjectStringIndexSniff.php, variable DisallowObjectStringIndexSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowMultipleStyleDefinitionsSniff.php, variable DisallowMultipleStyleDefinitionsSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowInlineIfSniff.php, variable DisallowInlineIfSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowSizeFunctionsInLoopsSniff.php, variable DisallowSizeFunctionsInLoopsSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowSpaceIndentSniff.php, variable DisallowSpaceIndentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DocCommentAlignmentSniff.php, variable DocCommentAlignmentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DisallowTabIndentSniff.php, variable DisallowTabIndentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file CSSLintSniff.php, variable CSSLintSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file CreateWidgetTypeCallbackSniff.php, variable CreateWidgetTypeCallbackSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ClosureLinterSniff.php, variable ClosureLinterSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ColourDefinitionSniff.php, variable ColourDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ColonSpacingSniff.php, variable ColonSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file CommentedOutCodeSniff.php, variable CommentedOutCodeSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ForLoopDeclarationSniff.php, variable ForLoopDeclarationSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ClassDefinitionOpeningBraceSpaceSniff.php, variable ClassDefinitionOpeningBraceSpaceSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ComparisonOperatorUsageSniff.php, variable ComparisonOperatorUsageSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DocCommentSniff.php, variable DocCommentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ControlSignatureSniff.php, variable ControlSignatureSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FileCommentSniff.php, variable FileCommentSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FirebugConsoleSniff.php, variable FirebugConsoleSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ForbiddenStylesSniff.php, variable ForbiddenStylesSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file FixmeSniff.php, variable FixmeSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ClassDefinitionClosingBraceSpaceSniff.php, variable ClassDefinitionClosingBraceSpaceSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ClassDefinitionNameSpacingSniff.php, variable ClassDefinitionNameSpacingSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file BrowserSpecificStylesSniff.php, variable BrowserSpecificStylesSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file ESLintSniff.php, variable ESLintSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DuplicatePropertySniff.php, variable DuplicatePropertySniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DuplicateClassDefinitionSniff.php, variable DuplicateClassDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file EndFileNoNewlineSniff.php, variable EndFileNoNewlineSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file DuplicateStyleDefinitionSniff.php, variable DuplicateStyleDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file EndFileNewlineSniff.php, variable EndFileNewlineSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file EmptyClassDefinitionSniff.php, variable EmptyClassDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- $supportedTokenizers
- in file EmptyStyleDefinitionSniff.php, variable EmptyStyleDefinitionSniff::$supportedTokenizers
A list of tokenizers this sniff supports.
- Source.php
- procedural page Source.php
- Summary.php
- procedural page Summary.php
- Svnblame.php
- procedural page Svnblame.php
- Sniff.php
- procedural page Sniff.php
- SpaceAfterCastSniff.php
- procedural page SpaceAfterCastSniff.php
- SpaceAfterNotSniff.php
- procedural page SpaceAfterNotSniff.php
- SAPIUsageSniff.php
- procedural page SAPIUsageSniff.php
- SyntaxSniff.php
- procedural page SyntaxSniff.php
- SubversionPropertiesSniff.php
- procedural page SubversionPropertiesSniff.php
- ScopeIndentSniff.php
- procedural page ScopeIndentSniff.php
- ScopeClosingBraceSniff.php
- procedural page ScopeClosingBraceSniff.php
- ScopeIndentSniff.php
- procedural page ScopeIndentSniff.php
- SideEffectsSniff.php
- procedural page SideEffectsSniff.php
- SwitchDeclarationSniff.php
- procedural page SwitchDeclarationSniff.php
- SelfMemberReferenceSniff.php
- procedural page SelfMemberReferenceSniff.php
- SwitchDeclarationSniff.php
- procedural page SwitchDeclarationSniff.php
- SemicolonSpacingSniff.php
- procedural page SemicolonSpacingSniff.php
- ShorthandSizeSniff.php
- procedural page ShorthandSizeSniff.php
- StaticThisUsageSniff.php
- procedural page StaticThisUsageSniff.php
- ScopeClosingBraceSniff.php
- procedural page ScopeClosingBraceSniff.php
- ScopeKeywordSpacingSniff.php
- procedural page ScopeKeywordSpacingSniff.php
- SemicolonSpacingSniff.php
- procedural page SemicolonSpacingSniff.php
- SuperfluousWhitespaceSniff.php
- procedural page SuperfluousWhitespaceSniff.php
- Standards.php
- procedural page Standards.php
- SAPIUsageSniff
- in file SAPIUsageSniff.php, class SAPIUsageSniff
Ensures the PHP_SAPI constant is used instead of php_sapi_name().
- save
- in file Cache.php, method Cache::save()
Saves the current cache to the filesystem.
- ScopeClosingBraceSniff
- in file ScopeClosingBraceSniff.php, class ScopeClosingBraceSniff
Checks that the closing braces of scopes are aligned correctly.
- ScopeIndentSniff
- in file ScopeIndentSniff.php, class ScopeIndentSniff
Checks that control structures are defined and indented correctly.
- ScopeKeywordSpacingSniff
- in file ScopeKeywordSpacingSniff.php, class ScopeKeywordSpacingSniff
Ensure there is a single space after scope keywords.
- SelfMemberReferenceSniff
- in file SelfMemberReferenceSniff.php, class SelfMemberReferenceSniff
Tests self member references.
- SemicolonSpacingSniff
- in file SemicolonSpacingSniff.php, class SemicolonSpacingSniff
Ensure there is no whitespace before a semicolon.
- set
- in file Cache.php, method Cache::set()
Retrieves a single entry from the cache.
- setCommandLineValues
- in file Config.php, method Config::setCommandLineValues()
Set the command line values.
- setConfigData
- in file Config.php, method Config::setConfigData()
Set a single config value.
- setContent
- in file File.php, method File::setContent()
Set the content of the file.
- setErrorCounts
- in file DummyFile.php, method DummyFile::setErrorCounts()
Set the error, warning, and fixable counts for the file.
- setSettings
- in file Config.php, method Config::setSettings()
Set the array of all config settings.
- setSniffProperty
- in file Ruleset.php, method Ruleset::setSniffProperty()
Set a single property for a sniff.
- ShorthandSizeSniff
- in file ShorthandSizeSniff.php, class ShorthandSizeSniff
Ensure sizes are defined using shorthand notation where possible.
- shouldIgnorePath
- in file Filter.php, method Filter::shouldIgnorePath()
Checks filtering rules to see if a path should be ignored.
- shouldProcessFile
- in file Filter.php, method Filter::shouldProcessFile()
Checks filtering rules to see if a file should be checked.
- SideEffectsSniff
- in file SideEffectsSniff.php, class SideEffectsSniff
Ensures a file declares new symbols and causes no other side effects, or executes logic with side effects, but not both.
- Sniff
- in file Sniff.php, class Sniff
Represents a PHP_CodeSniffer sniff for sniffing coding standards.
- Source
- in file Source.php, class Source
Source report for PHP_CodeSniffer.
- SpaceAfterCastSniff
- in file SpaceAfterCastSniff.php, class SpaceAfterCastSniff
Ensures there is a single space after cast tokens.
- SpaceAfterNotSniff
- in file SpaceAfterNotSniff.php, class SpaceAfterNotSniff
Ensures there is a single space after a NOT operator.
- STABILITY
- in file Config.php, class constant Config::STABILITY
Package stability; either stable, beta or alpha.
- standardiseToken
- in file PHP.php, method PHP::standardiseToken()
Takes a token produced from token_get_all()
and produces a more uniform token.
- Standards
- in file Standards.php, class Standards
Functions for helping process standards.
- startFile
- in file Fixer.php, method Fixer::startFile()
Starts fixing a new file.
- startTiming
- in file Timing.php, method Timing::startTiming()
Start recording time for the run.
- StaticThisUsageSniff
- in file StaticThisUsageSniff.php, class StaticThisUsageSniff
Checks for usage of $this in static methods, which will cause runtime errors.
- stripBasepath
- in file Common.php, method Common::stripBasepath()
Removes a base path from the front of a file path.
- substrToken
- in file Fixer.php, method Fixer::substrToken()
Replace the content of a token with a part of its current content.
- SubversionPropertiesSniff
- in file SubversionPropertiesSniff.php, class SubversionPropertiesSniff
Tests that the correct Subversion properties are set.
- suggestType
- in file Common.php, method Common::suggestType()
Returns a valid variable type for param/var tag.
- Summary
- in file Summary.php, class Summary
Summary report for PHP_CodeSniffer.
- SuperfluousWhitespaceSniff
- in file SuperfluousWhitespaceSniff.php, class SuperfluousWhitespaceSniff
Checks for unneeded whitespace.
- Svnblame
- in file Svnblame.php, class Svnblame
SVN blame report for PHP_CodeSniffer.
- SwitchDeclarationSniff
- in file SwitchDeclarationSniff.php, class SwitchDeclarationSniff
Ensures all switch statements are defined correctly.
- SyntaxSniff
- in file SyntaxSniff.php, class SyntaxSniff
Ensures PHP believes the syntax is clean.
top
t
- $tabIndent
- in file ScopeIndentSniff.php, variable ScopeIndentSniff::$tabIndent
Should tabs be used for indenting?
- $textStringTokens
- in file Tokens.php, variable Tokens::$textStringTokens
Tokens that represent text strings.
- $timeout
- in file Notifysend.php, variable Notifysend::$timeout
Notification timeout in milliseconds.
- $tokenizer
- in file File.php, variable File::$tokenizer
The tokenizer being used for this file.
- $tokenListeners
- in file Ruleset.php, variable Ruleset::$tokenListeners
An array of token types and the sniffs that are listening for them.
- $tokens
- in file File.php, variable File::$tokens
The tokens stack map.
- $tokens
- in file Tokenizer.php, variable Tokenizer::$tokens
A token-based representation of the content.
- $tokenValues
- in file JS.php, variable JS::$tokenValues
A list of special JS tokens and their types.
- $totalErrors
- in file Reporter.php, variable Reporter::$totalErrors
Total number of errors found during the run.
- $totalFiles
- in file Reporter.php, variable Reporter::$totalFiles
Total number of files that contain errors or warnings.
- $totalFixable
- in file Reporter.php, variable Reporter::$totalFixable
Total number of errors/warnings that can be fixed.
- $totalFixed
- in file Reporter.php, variable Reporter::$totalFixed
Total number of errors/warnings that were fixed.
- $totalWarnings
- in file Reporter.php, variable Reporter::$totalWarnings
Total number of warnings found during the run.
- TokenizerException.php
- procedural page TokenizerException.php
- Text.php
- procedural page Text.php
- TodoSniff.php
- procedural page TodoSniff.php
- Tokenizer.php
- procedural page Tokenizer.php
- Timing.php
- procedural page Timing.php
- Tokens.php
- procedural page Tokens.php
- Text
- in file Text.php, class Text
A doc generator that outputs text-based documentation.
- Timing
- in file Timing.php, class Timing
Timing functions for the run.
- TodoSniff
- in file TodoSniff.php, class TodoSniff
Warns about TODO comments.
- tokenize
- in file JS.php, method JS::tokenize()
Creates an array of tokens when given some JS code.
- tokenize
- in file Tokenizer.php, method Tokenizer::tokenize()
Creates an array of tokens when given some content.
- tokenize
- in file PHP.php, method PHP::tokenize()
Creates an array of tokens when given some PHP code.
- tokenize
- in file CSS.php, method CSS::tokenize()
Creates an array of tokens when given some CSS code.
- Tokenizer
- in file Tokenizer.php, class Tokenizer
The base tokenizer class.
- TokenizerException
- in file TokenizerException.php, class TokenizerException
An exception thrown by PHP_CodeSniffer when it encounters an unrecoverable tokenizer error.
- tokenizeString
- in file Comment.php, method Comment::tokenizeString()
Creates an array of tokens when given some PHP code.
- tokenName
- in file Tokens.php, method Tokens::tokenName()
Given a token, returns the name of the token.
- Tokens
- in file Tokens.php, class Tokens
- T_ANON_CLASS
- in file Tokens.php, constant T_ANON_CLASS
- T_ARRAY_HINT
- in file Tokens.php, constant T_ARRAY_HINT
- T_ASPERAND
- in file Tokens.php, constant T_ASPERAND
- T_BACKTICK
- in file Tokens.php, constant T_BACKTICK
- T_BINARY_CAST
- in file Tokens.php, constant T_BINARY_CAST
- T_BITWISE_AND
- in file Tokens.php, constant T_BITWISE_AND
- T_BITWISE_OR
- in file Tokens.php, constant T_BITWISE_OR
- T_BITWISE_XOR
- in file Tokens.php, constant T_BITWISE_XOR
- T_BOOLEAN_NOT
- in file Tokens.php, constant T_BOOLEAN_NOT
- T_CLOSE_CURLY_BRACKET
- in file Tokens.php, constant T_CLOSE_CURLY_BRACKET
- T_CLOSE_OBJECT
- in file Tokens.php, constant T_CLOSE_OBJECT
- T_CLOSE_PARENTHESIS
- in file Tokens.php, constant T_CLOSE_PARENTHESIS
- T_CLOSE_SHORT_ARRAY
- in file Tokens.php, constant T_CLOSE_SHORT_ARRAY
- T_CLOSE_SQUARE_BRACKET
- in file Tokens.php, constant T_CLOSE_SQUARE_BRACKET
- T_CLOSE_USE_GROUP
- in file Tokens.php, constant T_CLOSE_USE_GROUP
- T_CLOSURE
- in file Tokens.php, constant T_CLOSURE
- T_COALESCE
- in file Tokens.php, constant T_COALESCE
- T_COALESCE_EQUAL
- in file Tokens.php, constant T_COALESCE_EQUAL
- T_COLON
- in file Tokens.php, constant T_COLON
- T_COLOUR
- in file Tokens.php, constant T_COLOUR
- T_COMMA
- in file Tokens.php, constant T_COMMA
- T_DIVIDE
- in file Tokens.php, constant T_DIVIDE
- T_DOC_COMMENT_CLOSE_TAG
- in file Tokens.php, constant T_DOC_COMMENT_CLOSE_TAG
- T_DOC_COMMENT_OPEN_TAG
- in file Tokens.php, constant T_DOC_COMMENT_OPEN_TAG
- T_DOC_COMMENT_STAR
- in file Tokens.php, constant T_DOC_COMMENT_STAR
- T_DOC_COMMENT_STRING
- in file Tokens.php, constant T_DOC_COMMENT_STRING
- T_DOC_COMMENT_TAG
- in file Tokens.php, constant T_DOC_COMMENT_TAG
- T_DOC_COMMENT_WHITESPACE
- in file Tokens.php, constant T_DOC_COMMENT_WHITESPACE
- T_DOLLAR
- in file Tokens.php, constant T_DOLLAR
- T_DOUBLE_QUOTED_STRING
- in file Tokens.php, constant T_DOUBLE_QUOTED_STRING
- T_ELLIPSIS
- in file Tokens.php, constant T_ELLIPSIS
- T_EMBEDDED_PHP
- in file Tokens.php, constant T_EMBEDDED_PHP
- T_END_NOWDOC
- in file Tokens.php, constant T_END_NOWDOC
- T_EQUAL
- in file Tokens.php, constant T_EQUAL
- T_FALSE
- in file Tokens.php, constant T_FALSE
- T_FINALLY
- in file Tokens.php, constant T_FINALLY
- T_GOTO_LABEL
- in file Tokens.php, constant T_GOTO_LABEL
- T_GREATER_THAN
- in file Tokens.php, constant T_GREATER_THAN
- T_HASH
- in file Tokens.php, constant T_HASH
- T_HEREDOC
- in file Tokens.php, constant T_HEREDOC
- T_INLINE_ELSE
- in file Tokens.php, constant T_INLINE_ELSE
- T_INLINE_THEN
- in file Tokens.php, constant T_INLINE_THEN
- T_LABEL
- in file Tokens.php, constant T_LABEL
- T_LESS_THAN
- in file Tokens.php, constant T_LESS_THAN
- T_MINUS
- in file Tokens.php, constant T_MINUS
- T_MODULUS
- in file Tokens.php, constant T_MODULUS
- T_MULTIPLY
- in file Tokens.php, constant T_MULTIPLY
- T_NONE
- in file Tokens.php, constant T_NONE
Stores weightings and groupings of tokens.
- T_NOWDOC
- in file Tokens.php, constant T_NOWDOC
- T_NULL
- in file Tokens.php, constant T_NULL
- T_NULLABLE
- in file Tokens.php, constant T_NULLABLE
- T_OBJECT
- in file Tokens.php, constant T_OBJECT
- T_OPEN_CURLY_BRACKET
- in file Tokens.php, constant T_OPEN_CURLY_BRACKET
- T_OPEN_PARENTHESIS
- in file Tokens.php, constant T_OPEN_PARENTHESIS
- T_OPEN_SHORT_ARRAY
- in file Tokens.php, constant T_OPEN_SHORT_ARRAY
- T_OPEN_SQUARE_BRACKET
- in file Tokens.php, constant T_OPEN_SQUARE_BRACKET
- T_OPEN_USE_GROUP
- in file Tokens.php, constant T_OPEN_USE_GROUP
- T_PARENT
- in file Tokens.php, constant T_PARENT
- T_PLUS
- in file Tokens.php, constant T_PLUS
- T_POW
- in file Tokens.php, constant T_POW
- T_POW_EQUAL
- in file Tokens.php, constant T_POW_EQUAL
- T_PROPERTY
- in file Tokens.php, constant T_PROPERTY
- T_PROTOTYPE
- in file Tokens.php, constant T_PROTOTYPE
- T_REGULAR_EXPRESSION
- in file Tokens.php, constant T_REGULAR_EXPRESSION
- T_RETURN_TYPE
- in file Tokens.php, constant T_RETURN_TYPE
- T_SELF
- in file Tokens.php, constant T_SELF
- T_SEMICOLON
- in file Tokens.php, constant T_SEMICOLON
- T_SPACESHIP
- in file Tokens.php, constant T_SPACESHIP
- T_START_NOWDOC
- in file Tokens.php, constant T_START_NOWDOC
- T_STRING_CONCAT
- in file Tokens.php, constant T_STRING_CONCAT
- T_STYLE
- in file Tokens.php, constant T_STYLE
- T_THIS
- in file Tokens.php, constant T_THIS
- T_TRUE
- in file Tokens.php, constant T_TRUE
- T_TYPEOF
- in file Tokens.php, constant T_TYPEOF
- T_URL
- in file Tokens.php, constant T_URL
- T_YIELD
- in file Tokens.php, constant T_YIELD
- T_YIELD_FROM
- in file Tokens.php, constant T_YIELD_FROM
- T_ZSR
- in file Tokens.php, constant T_ZSR
- T_ZSR_EQUAL
- in file Tokens.php, constant T_ZSR_EQUAL
top
u
- UnconditionalIfStatementSniff.php
- procedural page UnconditionalIfStatementSniff.php
- UnnecessaryFinalModifierSniff.php
- procedural page UnnecessaryFinalModifierSniff.php
- UnusedFunctionParameterSniff.php
- procedural page UnusedFunctionParameterSniff.php
- UselessOverridingMethodSniff.php
- procedural page UselessOverridingMethodSniff.php
- UpperCaseConstantNameSniff.php
- procedural page UpperCaseConstantNameSniff.php
- UpperCaseConstantSniff.php
- procedural page UpperCaseConstantSniff.php
- UnnecessaryStringConcatSniff.php
- procedural page UnnecessaryStringConcatSniff.php
- UnusedSystemSniff.php
- procedural page UnusedSystemSniff.php
- UseDeclarationSniff.php
- procedural page UseDeclarationSniff.php
- UnconditionalIfStatementSniff
- in file UnconditionalIfStatementSniff.php, class UnconditionalIfStatementSniff
Detects unconditional if- and elseif-statements.
- UnnecessaryFinalModifierSniff
- in file UnnecessaryFinalModifierSniff.php, class UnnecessaryFinalModifierSniff
Detects unnecessary final modifiers inside of final classes.
- UnnecessaryStringConcatSniff
- in file UnnecessaryStringConcatSniff.php, class UnnecessaryStringConcatSniff
Checks that two strings are not concatenated together; suggests using one string instead.
- UnusedFunctionParameterSniff
- in file UnusedFunctionParameterSniff.php, class UnusedFunctionParameterSniff
Checks the for unused function parameters.
- UnusedSystemSniff
- in file UnusedSystemSniff.php, class UnusedSystemSniff
Ensures that systems and asset types are used if they are included.
- UpperCaseConstantNameSniff
- in file UpperCaseConstantNameSniff.php, class UpperCaseConstantNameSniff
Ensures that constant names are all uppercase.
- UpperCaseConstantSniff
- in file UpperCaseConstantSniff.php, class UpperCaseConstantSniff
Checks that all uses of TRUE, FALSE and NULL are uppercase.
- UseDeclarationSniff
- in file UseDeclarationSniff.php, class UseDeclarationSniff
Ensures USE blocks are declared correctly.
- UselessOverridingMethodSniff
- in file UselessOverridingMethodSniff.php, class UselessOverridingMethodSniff
Detects unnecessary overridden methods that simply call their parent.
top
v
- $version
- in file Notifysend.php, variable Notifysend::$version
Version of installed notify-send executable.
- VersionControl.php
- procedural page VersionControl.php
- ValidDefaultValueSniff.php
- procedural page ValidDefaultValueSniff.php
- ValidClassNameSniff.php
- procedural page ValidClassNameSniff.php
- ValidFunctionNameSniff.php
- procedural page ValidFunctionNameSniff.php
- ValidVariableNameSniff.php
- procedural page ValidVariableNameSniff.php
- ValidClassNameSniff.php
- procedural page ValidClassNameSniff.php
- VariableCommentSniff.php
- procedural page VariableCommentSniff.php
- ValidFunctionNameSniff.php
- procedural page ValidFunctionNameSniff.php
- ValidVariableNameSniff.php
- procedural page ValidVariableNameSniff.php
- ValidLogicalOperatorsSniff.php
- procedural page ValidLogicalOperatorsSniff.php
- ValidVariableNameSniff.php
- procedural page ValidVariableNameSniff.php
- valid
- in file FileList.php, method FileList::valid()
Checks if current position is valid.
- ValidClassNameSniff
- in file ValidClassNameSniff.php, class ValidClassNameSniff
Ensures classes are in camel caps, and the first letter is capitalised.
- ValidDefaultValueSniff
- in file ValidDefaultValueSniff.php, class ValidDefaultValueSniff
Ensures function params with default values are at the end of the declaration.
- ValidFunctionNameSniff
- in file ValidFunctionNameSniff.php, class ValidFunctionNameSniff
Ensures method and function names are correct.
- ValidLogicalOperatorsSniff
- in file ValidLogicalOperatorsSniff.php, class ValidLogicalOperatorsSniff
Ensures logical operators 'and' and 'or' are not used.
- ValidVariableNameSniff
- in file ValidVariableNameSniff.php, class ValidVariableNameSniff
Checks the naming of variables and member variables.
- VariableCommentSniff
- in file VariableCommentSniff.php, class VariableCommentSniff
Parses and verifies the variable doc comment.
- VERSION
- in file Config.php, class constant Config::VERSION
The current version.
- VersionControl
- in file VersionControl.php, class VersionControl
Version control report base class for PHP_CodeSniffer.
top
w
- $warningCount
- in file File.php, variable File::$warningCount
The total number of warnings raised.
- $warnings
- in file File.php, variable File::$warnings
The warnings raised from sniffs.
- $weightings
- in file Tokens.php, variable Tokens::$weightings
The token weightings.
top
x
- Xml.php
- procedural page Xml.php
- Xml
- in file Xml.php, class Xml
XML report for PHP_CodeSniffer.
top
_
- __construct
- in file LowercasePHPFunctionsSniff.php, method LowercasePHPFunctionsSniff::__construct()
Construct the LowercasePHPFunctionSniff
- __construct
- in file MethodDeclarationSniff.php, method MethodDeclarationSniff::__construct()
Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.
- __construct
- in file LocalFile.php, method LocalFile::__construct()
Creates a LocalFile object and sets the content.
- __construct
- in file JS.php, method JS::__construct()
Initialise the tokenizer.
- __construct
- in file Generator.php, method Generator::__construct()
Constructs a doc generator.
- __construct
- in file IncludeSystemSniff.php, method IncludeSystemSniff::__construct()
Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.
- __construct
- in file MethodScopeSniff.php, method MethodScopeSniff::__construct()
Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.
- __construct
- in file Notifysend.php, method Notifysend::__construct()
Load configuration data.
- __construct
- in file Tokenizer.php, method Tokenizer::__construct()
Initialise and run the tokenizer.
- __construct
- in file ValidFunctionNameSniff.php, method ValidFunctionNameSniff::__construct()
Constructs a PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff.
- __construct
- in file StaticThisUsageSniff.php, method StaticThisUsageSniff::__construct()
Constructs the test with the tokens it wishes to listen for.
- __construct
- in file SelfMemberReferenceSniff.php, method SelfMemberReferenceSniff::__construct()
Constructs a Squiz_Sniffs_Classes_SelfMemberReferenceSniff.
- __construct
- in file Reporter.php, method Reporter::__construct()
Initialise the reporter.
- __construct
- in file Ruleset.php, method Ruleset::__construct()
Initialise the ruleset that the run will use.
- __construct
- in file FunctionCommentThrowTagSniff.php, method FunctionCommentThrowTagSniff::__construct()
Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff.
- __construct
- in file Filter.php, method Filter::__construct()
Constructs a filter.
- __construct
- in file AbstractPatternSniff.php, method AbstractPatternSniff::__construct()
Constructs a AbstractPatternSniff.
- __construct
- in file Config.php, method Config::__construct()
Creates a Config object and populates it with command line values.
- __construct
- in file CamelCapsFunctionNameSniff.php, method CamelCapsFunctionNameSniff::__construct()
Constructs a Generic_Sniffs_NamingConventions_CamelCapsFunctionNameSniff.
- __construct
- in file AbstractVariableSniff.php, method AbstractVariableSniff::__construct()
Constructs an AbstractVariableTest.
- __construct
- in file AbstractScopeSniff.php, method AbstractScopeSniff::__construct()
Constructs a new AbstractScopeTest.
- __construct
- in file ConstructorNameSniff.php, method ConstructorNameSniff::__construct()
Constructs the test with the tokens it wishes to listen for.
- __construct
- in file DummyFile.php, method DummyFile::__construct()
Creates a DummyFile object and sets the content.
- __construct
- in file CSS.php, method CSS::__construct()
Initialise the tokenizer.
- __construct
- in file FileList.php, method FileList::__construct()
Constructs a file list and loads in an array of file paths to process.
- __construct
- in file File.php, method File::__construct()
Constructs a file.
- __construct
- in file DeprecatedFunctionsSniff.php, method DeprecatedFunctionsSniff::__construct()
Constructor.
- __get
- in file Config.php, method Config::__get()
Get the value of an inaccessible property.
- __isset
- in file Config.php, method Config::__isset()
Check if the value of an inaccessible property is set.
- __set
- in file Config.php, method Config::__set()
Set the value of an inaccessible property.
- __unset
- in file Config.php, method Config::__unset()
Unset the value of an inaccessible property.
top
Documentation generated on Mon, 11 Mar 2019 15:27:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|