Skip to content

Commit

Permalink
Fixed bug #1993 : PSR1/PSR2 not reporting or fixing short open tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Apr 17, 2018
1 parent aca4d9f commit d02b37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
- Fixed bug #1971 : Short array list syntax not correctly tokenized if short array is the first content in a file
- Fixed bug #1979 : Tokenizer does not change heredoc to nowdoc token if the start tag contains spaces
- Fixed bug #1982 : Squiz.Arrays.ArrayDeclaration fixer sometimes puts a comma in front of the last array value
- Fixed bug #1993 : PSR1/PSR2 not reporting or fixing short open tags
</notes>
<contents>
<dir name="/">
Expand Down
1 change: 1 addition & 0 deletions src/Standards/PSR1/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!-- 2.1. PHP Tags -->

<!-- PHP code MUST use the long <?php ?> tags or the short-echo <?= ?> tags; it MUST NOT use the other tag variations. -->
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
<rule ref="Generic.PHP.DisallowShortOpenTag.EchoFound">
<severity>0</severity>
</rule>
Expand Down

0 comments on commit d02b37c

Please # to comment.