Skip to content

Commit

Permalink
disallow multiple structures per file
Browse files Browse the repository at this point in the history
  • Loading branch information
gmponos committed Jun 20, 2020
1 parent 87308f5 commit 5740d3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Doctrine/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<!-- Forbid inline HTML in PHP code -->
<rule ref="Generic.Files.InlineHTML"/>
<!-- Only one structure (class/interface/trait) should be allowed per file -->
<rule ref="Generic.Files.OneObjectStructurePerFile" />
<!-- Align corresponding assignment statement tokens -->
<rule ref="Generic.Formatting.MultipleStatementAlignment">
<properties>
Expand Down

0 comments on commit 5740d3a

Please sign in to comment.