|
|
@@ -74,7 +74,6 @@
|
|
|
|
|
|
<rule ref="SlevomatCodingStandard.Strings.DisallowVariableParsing"/>
|
|
|
|
|
|
- <!--<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"/>-->
|
|
|
<!--<rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint"/>-->
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.NullTypeHintOnLastPosition"/>
|
|
|
@@ -87,6 +86,13 @@
|
|
|
<rule ref="SlevomatCodingStandard.Variables.DuplicateAssignmentToVariable"/>
|
|
|
<rule ref="SlevomatCodingStandard.Variables.UselessVariable"/>
|
|
|
|
|
|
+ <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
|
|
+ <properties>
|
|
|
+ <property name="linesCountBeforeDeclare" value="0"/>
|
|
|
+ <property name="linesCountAfterDeclare" value="1"/>
|
|
|
+ <property name="spacesCountAroundEqualsSign" value="0"/>
|
|
|
+ </properties>
|
|
|
+ </rule>
|
|
|
|
|
|
<rule ref="SlevomatCodingStandard.Functions.RequireMultiLineCall">
|
|
|
<properties>
|
|
|
@@ -147,7 +153,7 @@
|
|
|
<rule ref="Generic.PHP.LowerCaseKeyword"/>
|
|
|
<rule ref="Generic.PHP.LowerCaseType"/>
|
|
|
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
|
|
- <!--<rule ref="Generic.PHP.RequireStrictTypes"/>-->
|
|
|
+ <rule ref="Generic.PHP.RequireStrictTypes"/>
|
|
|
<rule ref="Generic.PHP.SAPIUsage"/>
|
|
|
<rule ref="Generic.PHP.Syntax"/>
|
|
|
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
|