Config data is stored in the data dir, in a file called
CodeSniffer.conf. It is a simple PHP array.
public static setConfigData ( string $key, string | null $value, boolean $temp = false ) : boolean | ||
$key | string | The name of the config value. |
$value | string | null | The value to set. If null, the config entry is deleted, reverting it to the default value. |
$temp | boolean | Set this config data temporarily for this script run. This will not write the config data to the config file. |
return | boolean |