no_closing_tag
The closing ?> tag MUST be omitted from files containing only PHP.
?>
--- Original +++ New <?php class Sample { -} -?> +} \ No newline at end of file
The rule is part of the following rule sets:
@PER
@PER-CS
@PER-CS1.0
@PER-CS2.0
@PSR2
@PSR12
@PhpCsFixer
@Symfony
PhpCsFixer\Fixer\PhpTag\NoClosingTagFixer