Skip to content

Commit

Permalink
Generic / ByteOrderMark: property visibility
Browse files Browse the repository at this point in the history
While working on the list of public properties which can be changed from rulesets, I came across this property in the `Generic_Sniffs_Files_ByteOrderMarkSniff` for which it seemed unlikely that it was intended to be public.
  • Loading branch information
jrfnl committed Jan 19, 2017
1 parent 06dd9c9 commit 0bdc782
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ class Generic_Sniffs_Files_ByteOrderMarkSniff implements PHP_CodeSniffer_Sniff
*
* @var array
*/
public $bomDefinitions = array(
'UTF-8' => 'efbbbf',
'UTF-16 (BE)' => 'feff',
'UTF-16 (LE)' => 'fffe',
);
protected $bomDefinitions = array(
'UTF-8' => 'efbbbf',
'UTF-16 (BE)' => 'feff',
'UTF-16 (LE)' => 'fffe',
);


/**
Expand Down

0 comments on commit 0bdc782

Please sign in to comment.