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

Breadcrumb

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

UselessParenthesesSniff::OPERATOR_GROUPS

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php, line 90

Class

UselessParenthesesSniff

Namespace

SlevomatCodingStandard\Sniffs\PHP

Code

private const OPERATOR_GROUPS = [
    T_POW => 1,
    T_MULTIPLY => 2,
    T_DIVIDE => 2,
    T_MODULUS => 3,
    T_PLUS => 4,
    T_MINUS => 4,
    T_STRING_CONCAT => 5,
];

API Navigation

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