DisallowShortOpenTag
Makes sure that shorthand PHP open tags are not used.
Scope
Generic.PHP.DisallowShortOpenTag
Description
Always use <?php ?>
to delimit PHP code, not the <? ?>
shorthand. This is the most portable way to include PHP code on differing operating systems and setups.
Usage
xml
<rule ref="Generic.PHP.DisallowShortOpenTag"></rule>
Examples
No Examples Available
Please edit this page through Github to add examples.