Skip to content
On this page

CharacterBeforePHPOpeningTag

Checks that the opening PHP tag is the first content in a file.

Scope

Generic.PHP.CharacterBeforePHPOpeningTag

Description

The opening php tag should be the first item in the file.

Usage

xml
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag"></rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.