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

Breadcrumb

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

LongConditionClosingCommentSniff::$openers

The openers that we are interested in.

Type: integer[]

File

vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php, line 33

Class

LongConditionClosingCommentSniff

Namespace

PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting

Code

private static $openers = [
    T_SWITCH,
    T_IF,
    T_FOR,
    T_FOREACH,
    T_WHILE,
    T_TRY,
    T_CASE,
    T_MATCH,
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal