File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The changelog describes what have been "Added", "Changed", "Removed" or "Fixed" between versions.
4
4
5
+ ## Version 5.16.3
6
+
7
+ ### Changed
8
+
9
+ - Deprecate ` Address::$errorNames ` in favour of ` Address::ERROR_NAMES ` .
10
+
5
11
## Version 5.16.2
6
12
13
+ ### Fixed
14
+
7
15
- Fix deprecations with Symfony 6.1
8
16
9
17
## Version 5.16.1
Original file line number Diff line number Diff line change @@ -25,11 +25,20 @@ class Address extends Constraint
25
25
{
26
26
public const INVALID_ADDRESS_ERROR = '2243aa07-2ea7-4eb7-962c-6a9586593f2c ' ;
27
27
28
- /** @var string[] */
29
- protected static $ errorNames = [
28
+ /**
29
+ * @var string[]
30
+ */
31
+ protected const ERROR_NAMES = [
30
32
self ::INVALID_ADDRESS_ERROR => 'INVALID_ADDRESS_ERROR ' ,
31
33
];
32
34
35
+ /**
36
+ * @var string[]
37
+ *
38
+ * @deprecated since BazingaGeocoderBundle 5.16, use const ERROR_NAMES instead
39
+ */
40
+ protected static $ errorNames = self ::ERROR_NAMES ;
41
+
33
42
/**
34
43
* @var string
35
44
*/
You can’t perform that action at this time.
0 commit comments