File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 185185 <rule ref =" SlevomatCodingStandard.Operators.DisallowEqualOperators" />
186186 <!-- Prefer +=/-= over ++/\-\-. -->
187187 <rule ref =" SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators" />
188- <!-- Prefer generic over array style for type hints (e.g. array<int> over int[]). -->
189- <rule ref =" SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax" />
190- <!-- Prefer shorthand scalar type hints in docblocks. -->
191- <rule ref =" SlevomatCodingStandard.TypeHints.LongTypeHints" />
192- <!-- Check that type hints are nullable when default value is null. -->
193- <rule ref =" SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />
194188 <!-- Disallow variable variables ($$foo). -->
195189 <rule ref =" SlevomatCodingStandard.Variables.DisallowVariableVariable" />
196190 <!-- Disallow unused variables. -->
Original file line number Diff line number Diff line change 5252 <!-- Disable assumption that the first comment in a file is a file comment. -->
5353 <exclude name =" PSR12.Files.FileHeader.SpacingAfterBlock" />
5454 </rule >
55+ <!-- Prefer generic over array style for type hints (e.g. array<int> over int[]). -->
56+ <rule ref =" SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax" />
57+ <!-- Prefer shorthand scalar type hints in docblocks. -->
58+ <rule ref =" SlevomatCodingStandard.TypeHints.LongTypeHints" />
59+ <!-- Check that type hints are nullable when default value is null. -->
60+ <rule ref =" SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />
5561</ruleset >
You can’t perform that action at this time.
0 commit comments