You are here

public property FileEncodingSniff::$allowedEncodings in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Files/FileEncodingSniff.php \Drupal\Sniffs\Files\FileEncodingSniff::allowedEncodings
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Files/FileEncodingSniff.php \Drupal\Sniffs\Files\FileEncodingSniff::allowedEncodings

List of encodings that files may be encoded with.

Any other detected encodings will throw a warning.

Type: array

File

coder_sniffer/Drupal/Sniffs/Files/FileEncodingSniff.php, line 41

Class

FileEncodingSniff
\Drupal\Sniffs\Files\FileEncodingSniff.

Namespace

Drupal\Sniffs\Files

Code

public $allowedEncodings = array(
  'UTF-8',
);