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

Breadcrumb

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

CognitiveSniff::OPERATOR_CHAIN_BREAKS

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Complexity/CognitiveSniff.php, line 68

Class

CognitiveSniff
Cognitive Complexity

Namespace

SlevomatCodingStandard\Sniffs\Complexity

Code

private const OPERATOR_CHAIN_BREAKS = [
    T_OPEN_PARENTHESIS => T_OPEN_PARENTHESIS,
    T_CLOSE_PARENTHESIS => T_CLOSE_PARENTHESIS,
    T_SEMICOLON => T_SEMICOLON,
    T_INLINE_THEN => T_INLINE_THEN,
    T_INLINE_ELSE => T_INLINE_ELSE,
];

API Navigation

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