Skip to content

Commit 5331e2a

Browse files
committed
:octocat: phpcs deprecations
1 parent 32f9e1a commit 5331e2a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

phpcs.xml.dist

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
8686
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint"/>
8787
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>
88-
8988
<!--<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"/>-->
9089

9190
<rule ref="SlevomatCodingStandard.Variables.DisallowVariableVariable"/>
@@ -112,9 +111,8 @@
112111
<exclude-pattern>tests/Storage/SessionStorageTest.php</exclude-pattern>
113112
</rule>
114113

115-
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
114+
<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat">
116115
<properties>
117-
<property name="withSpaces" value="no"/>
118116
<property name="shortNullable" value="no"/>
119117
<property name="nullPosition" value="last"/>
120118
</properties>
@@ -147,8 +145,6 @@
147145
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
148146
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
149147
<!--<rule ref="Generic.Formatting.MultipleStatementAlignment"/>-->
150-
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
151-
<rule ref="Generic.Functions.CallTimePassByReference"/>
152148
<!--<rule ref="Generic.NamingConventions.InterfaceNameSuffix"/>-->
153149
<rule ref="Generic.NamingConventions.TraitNameSuffix"/>
154150
<rule ref="Generic.PHP.BacktickOperator"/>
@@ -183,7 +179,6 @@
183179

184180

185181
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
186-
<rule ref="Squiz.Classes.DuplicateProperty"/>
187182
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
188183
<rule ref="Squiz.Classes.SelfMemberReference"/>
189184
<rule ref="Squiz.Commenting.DocCommentAlignment"/>

0 commit comments

Comments
 (0)