File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## v0.11.x
4
+
5
+ ### v0.11.0
6
+
7
+ ** Breaking changes**
8
+
9
+ In the following rules the ` enableMixedTypeHint ` is disabled.
10
+ See explanation and details here: https://github.com/arxeiss/php-coding-standards/pull/6
11
+
12
+ - SlevomatCodingStandard.TypeHints.ParameterTypeHint
13
+ - SlevomatCodingStandard.TypeHints.PropertyTypeHint
14
+ - SlevomatCodingStandard.TypeHints.ReturnTypeHint
15
+
3
16
## v0.10.x
4
17
5
18
### v0.10.0
Original file line number Diff line number Diff line change 76
76
<rule ref =" SlevomatCodingStandard.TypeHints.LongTypeHints" /> <!-- Disable long type hints -->
77
77
<rule ref =" SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" /> <!-- Parameter must be nullable if has null default value -->
78
78
<rule ref =" SlevomatCodingStandard.TypeHints.NullTypeHintOnLastPosition" /> <!-- In doc block |null must be last -->
79
- <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint" /> <!-- Check correct type hints -->
79
+ <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint" > <!-- Check correct type hints -->
80
+ <properties >
81
+ <property name =" enableMixedTypeHint" value =" false" />
82
+ </properties >
83
+ </rule >
80
84
<rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation" >
81
85
<severity >0</severity >
82
86
</rule >
83
87
<rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing" /> <!-- Correct spacing for parameter type hints -->
84
- <rule ref =" SlevomatCodingStandard.TypeHints.PropertyTypeHint" /> <!-- Check type hint for class property -->
88
+ <rule ref =" SlevomatCodingStandard.TypeHints.PropertyTypeHint" > <!-- Check type hint for class property -->
89
+ <properties >
90
+ <property name =" enableMixedTypeHint" value =" false" />
91
+ </properties >
92
+ </rule >
85
93
<rule ref =" SlevomatCodingStandard.TypeHints.PropertyTypeHint.UselessAnnotation" >
86
94
<severity >0</severity >
87
95
</rule >
88
- <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" /> <!-- Correct return type hint -->
96
+ <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint" > <!-- Correct return type hint -->
97
+ <properties >
98
+ <property name =" enableMixedTypeHint" value =" false" />
99
+ </properties >
100
+ </rule >
89
101
<rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation" >
90
102
<severity >0</severity >
91
103
</rule >
You can’t perform that action at this time.
0 commit comments