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

Breadcrumb

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

DiscouragedFunctionsSniff::$error

Same name in this branch
  1. 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php \PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP\DiscouragedFunctionsSniff::error

If true, an error will be thrown; otherwise a warning.

Type: boolean

Overrides ForbiddenFunctionsSniff::$error

File

vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php, line 70

Class

DiscouragedFunctionsSniff
Discourage the use of debug functions.

Namespace

Drupal\Sniffs\Functions

Code

public $error = false;

API Navigation

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