Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tokens.php

Tokens::$parenthesisOpeners

Token types that open parenthesis.

Type: array

File

vendor/squizlabs/php_codesniffer/src/Util/Tokens.php, line 404

Class

Tokens

Namespace

PHP_CodeSniffer\Util

Code

public static $parenthesisOpeners = [
    T_ARRAY => T_ARRAY,
    T_LIST => T_LIST,
    T_FUNCTION => T_FUNCTION,
    T_CLOSURE => T_CLOSURE,
    T_ANON_CLASS => T_ANON_CLASS,
    T_WHILE => T_WHILE,
    T_FOR => T_FOR,
    T_FOREACH => T_FOREACH,
    T_SWITCH => T_SWITCH,
    T_IF => T_IF,
    T_ELSEIF => T_ELSEIF,
    T_CATCH => T_CATCH,
    T_DECLARE => T_DECLARE,
    T_MATCH => T_MATCH,
];
RSS feed
Powered by Drupal