Rule encoding PHP code MUST use only UTF-8 without BOM (remove BOM). Examples Example #1 --- Original +++ New -<?php +<?php echo "Hello!"; Rule sets The rule is part of the following rule sets: @PER @PER-CS @PER-CS1.0 @PER-CS2.0 @PSR1 @PSR2 @PSR12 @PhpCsFixer @Symfony Source class PhpCsFixer\Fixer\Basic\EncodingFixer