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

Breadcrumb

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

function Ruleset::hasSniffDeprecations

Checks whether any deprecated sniffs were registered via the ruleset.

Return value

bool

1 call to Ruleset::hasSniffDeprecations()
Ruleset::showSniffDeprecations in vendor/squizlabs/php_codesniffer/src/Ruleset.php
Prints an information block about deprecated sniffs being used.

File

vendor/squizlabs/php_codesniffer/src/Ruleset.php, line 328

Class

Ruleset

Namespace

PHP_CodeSniffer

Code

public function hasSniffDeprecations() {
    return count($this->deprecatedSniffs) > 0;
}

API Navigation

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