Skip to content

Commit

Permalink
DeclareStrictType chceme na prvním řádku
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanPala committed Mar 16, 2021
1 parent 3f6e5f3 commit f4a3980
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/PeckaCodingStandardStrict/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"/>

<!-- TypeHints -->
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"/>
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="declareOnFirstLine" value="true" />
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>

<!-- Namespaces -->
Expand Down

0 comments on commit f4a3980

Please sign in to comment.