82 uses of T_CLOSURE
- AbstractControlStructureSpacing::findControlStructureEnd in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ ControlStructures/ AbstractControlStructureSpacing.php - AbstractVariableSniff::processTokenWithinScope in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractVariableSniff.php - Processes the token in the specified PHP_CodeSniffer\Files\File.
- ArrayDeclarationSniff::processMultiLineArray in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Arrays/ ArrayDeclarationSniff.php - Processes a multi-line array definition.
- CognitiveSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Complexity/ CognitiveSniff.php - *
- ControlStructureSpacingSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ ControlStructureSpacingSniff.php - Processes this test, when one of its tokens is encountered.
- CreateWidgetTypeCallbackSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ MySource/ Sniffs/ Objects/ CreateWidgetTypeCallbackSniff.php - Processes this test, when one of its tokens is encountered.
- DisallowCommentAfterCodeSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ DisallowCommentAfterCodeSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- DisallowComparisonAssignmentSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ PHP/ DisallowComparisonAssignmentSniff.php - Processes this test, when one of its tokens is encountered.
- DisallowImplicitArrayCreationSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Arrays/ DisallowImplicitArrayCreationSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- DisallowMultipleAssignmentsSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ PHP/ DisallowMultipleAssignmentsSniff.php - Processes this test, when one of its tokens is encountered.
- DisallowTrailingCommaInClosureUseSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ DisallowTrailingCommaInClosureUseSniff.php - *
- EarlyExitSniff::processIf in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ ControlStructures/ EarlyExitSniff.php - EmptyPHPStatementSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ CodeAnalysis/ EmptyPHPStatementSniff.php - Processes this test, when one of its tokens is encountered.
- File::getDeclarationName in vendor/
squizlabs/ php_codesniffer/ src/ Files/ File.php - Returns the declaration name for classes, interfaces, traits, enums, and functions.
- File::getMethodParameters in vendor/
squizlabs/ php_codesniffer/ src/ Files/ File.php - Returns the method parameters for the specified function token.
- File::getMethodProperties in vendor/
squizlabs/ php_codesniffer/ src/ Files/ File.php - Returns the visibility and implementation properties of a method.
- File::isReference in vendor/
squizlabs/ php_codesniffer/ src/ Files/ File.php - Determine if the passed token is a reference operator.
- FileCommentSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Commenting/ FileCommentSniff.php - Processes this test, when one of its tokens is encountered.
- FileCommentSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Commenting/ FileCommentSniff.php - Processes this test, when one of its tokens is encountered.
- FunctionCallArgumentSpacingSniff::checkSpacing in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Functions/ FunctionCallArgumentSpacingSniff.php - Checks the spacing around commas.
- FunctionClosingBraceSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PSR2/ Sniffs/ Methods/ FunctionClosingBraceSniff.php - Returns an array of tokens this test wants to listen for.
- FunctionClosingBraceSpaceSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ FunctionClosingBraceSpaceSniff.php - Processes this test, when one of its tokens is encountered.
- FunctionClosingBraceSpaceSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ FunctionClosingBraceSpaceSniff.php - Returns an array of tokens this test wants to listen for.
- FunctionCommentSniff::processReturn in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Commenting/ FunctionCommentSniff.php - Process the return comment of this function comment.
- FunctionCommentSniff::processReturn in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Commenting/ FunctionCommentSniff.php - Process the return comment of this function comment.
- FunctionCommentThrowTagSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Commenting/ FunctionCommentThrowTagSniff.php - Processes this test, when one of its tokens is encountered.
- FunctionDeclarationArgumentSpacingSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Functions/ FunctionDeclarationArgumentSpacingSniff.php - Processes this test, when one of its tokens is encountered.
- FunctionDeclarationArgumentSpacingSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Functions/ FunctionDeclarationArgumentSpacingSniff.php - Returns an array of tokens this test wants to listen for.
- FunctionDeclarationSniff::isMultiLineDeclaration in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Determine if this is a multi-line function declaration.
- FunctionDeclarationSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Processes this test, when one of its tokens is encountered.
- FunctionDeclarationSniff::processArgumentList in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Processes multi-line argument list declarations.
- FunctionDeclarationSniff::processMultiLineDeclaration in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Processes multi-line declarations.
- FunctionDeclarationSniff::processSingleLineDeclaration in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Processes single-line declarations.
- FunctionDeclarationSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ FunctionDeclarationSniff.php - Returns an array of tokens this test wants to listen for.
- FunctionHelper::findClassPointer in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ FunctionHelper.php - FunctionOpeningBraceSpaceSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ FunctionOpeningBraceSpaceSniff.php - Returns an array of tokens this test wants to listen for.
- Helpers::getFunctionIndexForFunctionParameter in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Lib/ Helpers.php - * Find the index of the function keyword for a token in a function * definition's parameters. * * Does not work for tokens inside the "use". * * Will also work for the parenthesis that make up the function definition's …
- Helpers::getStartOfTokenScope in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Lib/ Helpers.php - * Return the token index of the scope start for a variable token * * This will only work for a variable within a function's body. Otherwise, * see `findVariableScope`, which is more complex. * * Note that if used on a variable in an…
- InlineCommentSniff::process in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Commenting/ InlineCommentSniff.php - Processes this test, when one of its tokens is encountered.
- InlineCommentSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Commenting/ InlineCommentSniff.php - Processes this test, when one of its tokens is encountered.
- InlineControlStructureSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ ControlStructures/ InlineControlStructureSniff.php - Processes this test, when one of its tokens is encountered.
- InlineDocCommentDeclarationSniff::checkVariable in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ InlineDocCommentDeclarationSniff.php - *
- InlineVariableCommentSniff::process in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Commenting/ InlineVariableCommentSniff.php - Processes this test, when one of its tokens is encountered.
- InnerFunctionsSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ PHP/ InnerFunctionsSniff.php - Processes this test, when one of its tokens is encountered.
- JS::processAdditional in vendor/
squizlabs/ php_codesniffer/ src/ Tokenizers/ JS.php - Performs additional processing after main tokenizing.
- LowerCaseConstantSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ PHP/ LowerCaseConstantSniff.php - Processes this sniff, when one of its tokens is encountered.
- LowerCaseConstantSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ PHP/ LowerCaseConstantSniff.php - Returns an array of tokens this test wants to listen for.
- LowercaseFunctionKeywordsSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Functions/ LowercaseFunctionKeywordsSniff.php - Returns an array of tokens this test wants to listen for.
- LowerCaseKeywordSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ PHP/ LowerCaseKeywordSniff.php - Returns an array of tokens this test wants to listen for.
- LowerCaseTypeSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ PHP/ LowerCaseTypeSniff.php - Returns an array of tokens this test wants to listen for.
- MultiLineFunctionDeclarationSniff::isMultiLineDeclaration in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Functions/ MultiLineFunctionDeclarationSniff.php - Determine if this is a multi-line function declaration.
- MultiLineFunctionDeclarationSniff::processMultiLineDeclaration in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Functions/ MultiLineFunctionDeclarationSniff.php - Processes multi-line declarations.
- NonExecutableCodeSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ PHP/ NonExecutableCodeSniff.php - Processes this test, when one of its tokens is encountered.
- OpeningFunctionBraceBsdAllmanSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Functions/ OpeningFunctionBraceBsdAllmanSniff.php - Processes this test, when one of its tokens is encountered.
- OpeningFunctionBraceBsdAllmanSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Functions/ OpeningFunctionBraceBsdAllmanSniff.php - Registers the tokens that this sniff wants to listen for.
- OpeningFunctionBraceKernighanRitchieSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Functions/ OpeningFunctionBraceKernighanRitchieSniff.php - Processes this test, when one of its tokens is encountered.
- OpeningFunctionBraceKernighanRitchieSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ Functions/ OpeningFunctionBraceKernighanRitchieSniff.php - Registers the tokens that this sniff wants to listen for.
- OperatorSpacingSniff::isOperator in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ OperatorSpacingSniff.php - Checks if an operator is actually a different type of token in the current context.
- PHP::processAdditional in vendor/
squizlabs/ php_codesniffer/ src/ Tokenizers/ PHP.php - Performs additional processing after main tokenizing.
- RequireArrowFunctionSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ RequireArrowFunctionSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- RequireArrowFunctionSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ RequireArrowFunctionSniff.php - *
- RequireSingleLineCallSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ RequireSingleLineCallSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- RequireTrailingCommaInClosureUseSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ RequireTrailingCommaInClosureUseSniff.php - *
- ReturnTypeDeclarationSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PSR12/ Sniffs/ Functions/ ReturnTypeDeclarationSniff.php - Returns an array of tokens this test wants to listen for.
- ReturnTypeHintSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ TypeHints/ ReturnTypeHintSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- ReturnTypeHintSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ TypeHints/ ReturnTypeHintSniff.php - *
- ScopeIndentSniff::process in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php - Processes this test, when one of its tokens is encountered.
- ScopeIndentSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php - Processes this test, when one of its tokens is encountered.
- SelfMemberReferenceSniff::processTokenWithinScope in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Classes/ SelfMemberReferenceSniff.php - Processes the function tokens within the class.
- StaticClosureSniff::register in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ StaticClosureSniff.php - *
- SuperfluousWhitespaceSniff::process in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ SuperfluousWhitespaceSniff.php - Processes this sniff, when one of its tokens is encountered.
- SuperfluousWhitespaceSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ SuperfluousWhitespaceSniff.php - Returns an array of tokens this test wants to listen for.
- UnusedFunctionParameterSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ CodeAnalysis/ UnusedFunctionParameterSniff.php - Returns an array of tokens this test wants to listen for.
- UnusedInheritedVariablePassedToClosureSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Functions/ UnusedInheritedVariablePassedToClosureSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- UnusedVariableSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Variables/ UnusedVariableSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- UselessParenthesesSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ PHP/ UselessParenthesesSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- UselessSemicolonSniff::checkSemicolonAfterScope in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ PHP/ UselessSemicolonSniff.php - ValidDefaultValueSniff::register in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PEAR/ Sniffs/ Functions/ ValidDefaultValueSniff.php - Returns an array of tokens this test wants to listen for.
- VariableAnalysisSniff::process in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php - * Scan and process a token. * * This is the main processing function of the sniff. Will run on every token * for which `register()` returns true. * *
- VariableAnalysisSniff::processVariableAsStaticDeclaration in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php - * Process a variable as a static declaration within a function. * * Specifically, this looks for variable definitions of the form `static * $foo = 'hello';` or `static int $foo;` inside a function definition. * * This will not…
- VariableAnalysisSniff::processVariableAsThisWithinClass in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php - * Process a variable that is being accessed as a member of `$this`. * * Looks for variables of the form `$this->myVariable`. * * Can be called for any token and will return false if the variable is not * of this type. * *
- VariableAnalysisSniff::register in vendor/
sirbrillig/ phpcs-variable-analysis/ VariableAnalysis/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php - * Decide which tokens to scan. * *