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

Breadcrumb

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

Config::$settings

An array of settings that PHPCS and PHPCBF accept.

This array is not meant to be accessed directly. Instead, use the settings as if they are class member vars so the __get() and __set() magic methods can be used to validate the values. For example, to set the verbosity level to level 2, use $this->verbosity = 2; instead of accessing this property directly.

Each of these settings is described in the class comment property list.

Type: array

File

vendor/squizlabs/php_codesniffer/src/Config.php, line 116

Class

Config
Stores the configuration used to run PHPCS and PHPCBF.

Namespace

PHP_CodeSniffer

Code

private $settings = [
    'files' => null,
    'standards' => null,
    'verbosity' => null,
    'interactive' => null,
    'parallel' => null,
    'cache' => null,
    'cacheFile' => null,
    'colors' => null,
    'explain' => null,
    'local' => null,
    'showSources' => null,
    'showProgress' => null,
    'quiet' => null,
    'annotations' => null,
    'tabWidth' => null,
    'encoding' => null,
    'extensions' => null,
    'sniffs' => null,
    'exclude' => null,
    'ignored' => null,
    'reportFile' => null,
    'generator' => null,
    'filter' => null,
    'bootstrap' => null,
    'reports' => null,
    'basepath' => null,
    'reportWidth' => null,
    'errorSeverity' => null,
    'warningSeverity' => null,
    'recordErrors' => null,
    'suffix' => null,
    'stdin' => null,
    'stdinContent' => null,
    'stdinPath' => null,
    'trackTime' => null,
    'unknown' => null,
];
RSS feed
Powered by Drupal