Skip to content

Commit 0667c93

Browse files
committed
feat: Change of definition
1 parent e2199ab commit 0667c93

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/ruleset.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint" />
4242
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint" />
4343
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint" />
44+
<exclude name="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat" />
4445
<exclude name="PSR2.Namespaces.UseDeclaration.MultipleDeclarations" />
4546
</rule>
4647
<rule ref="Generic.Files.LineLength">
@@ -51,6 +52,7 @@
5152
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
5253
<properties>
5354
<property name="linesCountBeforeDeclare" value="0"/>
55+
<property name="spacesCountAroundEqualsSign" value="0"/>
5456
</properties>
5557
</rule>
5658
<rule ref="SlevomatCodingStandard.Files.LineLength">
@@ -60,15 +62,14 @@
6062
</rule>
6163
<rule ref="Generic.PHP.ForbiddenFunctions">
6264
<properties>
63-
<property name="forbiddenFunctions" type="array" value="array=>null,var_dump=>null,dump=>null" />
65+
<property name="forbiddenFunctions" type="array">
66+
<element key="array" value="null" />
67+
<element key="var_dump" value="null" />
68+
<element key="dump" value="null" />
69+
</property>
6470
</properties>
6571
</rule>
6672
<rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison" />
67-
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
68-
<properties>
69-
<property name="spacesCountAroundEqualsSign" value="0"/>
70-
</properties>
71-
</rule>
7273
<rule ref="SlevomatCodingStandard.Classes.TraitUseSpacing">
7374
<properties>
7475
<property name="linesCountBeforeFirstUse" value="0"/>

0 commit comments

Comments
 (0)