File tree Expand file tree Collapse file tree 5 files changed +14
-19
lines changed Expand file tree Collapse file tree 5 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 1
- # 1.29 .0
1
+ # 1.28 .0
2
2
3
3
* Polyfill ` ldap_exop_sync() `
4
4
* Polyfill ` ldap_connect_wallet() `
9
9
* Polyfill ` mb_str_pad() `
10
10
* Polyfill ` #[\Override] ` attribute
11
11
* Use full case folding when using ` MB_CASE_FOLD `
12
-
13
- # 1.28.0
14
-
15
12
* Add ` CURLStringFile ` class introduced in PHP 8.1 (but only if PHP >= 7.4 is used)
13
+ * Add ` Date*Exception/Error ` classes introduced in PHP 8.3 for the Date/Time extension
16
14
17
15
# 1.27.0
18
16
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ Polyfills are provided for:
78
78
- the ` ldap_exop_sync ` function introduced in PHP 8.3;
79
79
- the ` ldap_connect_wallet ` function introduced in PHP 8.3;
80
80
- the ` stream_context_set_options ` function introduced in PHP 8.3;
81
+ - the ` Date*Exception/Error ` classes introduced in PHP 8.3;
81
82
82
83
It is strongly recommended to upgrade your PHP version and/or install the missing
83
84
extensions whenever possible. This polyfill should be used only when there is no
Original file line number Diff line number Diff line change 70
70
" src/Php73/Resources/stubs"
71
71
]
72
72
},
73
- "minimum-stability" : " dev" ,
74
- "extra" : {
75
- "branch-alias" : {
76
- "dev-main" : " 1.29-dev"
77
- }
78
- }
73
+ "minimum-stability" : " dev"
79
74
}
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ This component provides features added to PHP 8.3 core:
9
9
- [ ` ldap_exop_sync ` ] ( https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures )
10
10
- [ ` ldap_connect_wallet ` ] ( https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures )
11
11
- [ ` stream_context_set_options ` ] ( https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures )
12
+ - [ ` Date*Exception/Error classes ` ] ( https://wiki.php.net/rfc/datetime-exceptions )
12
13
13
14
More information can be found in the
14
15
[ main Polyfill README] ( https://github.com/symfony/polyfill/blob/main/README.md ) .
Original file line number Diff line number Diff line change @@ -192,14 +192,14 @@ public function testStreamContextSetOptions()
192
192
193
193
public function testDateTimeExceptionClassesExist ()
194
194
{
195
- $ this ->assertTrue (class_exists (' \DateError ' ));
196
- $ this ->assertTrue (class_exists (' \DateObjectError ' ));
197
- $ this ->assertTrue (class_exists (' \DateRangeError ' ));
198
- $ this ->assertTrue (class_exists (' \DateException ' ));
199
- $ this ->assertTrue (class_exists (' \DateInvalidTimeZoneException ' ));
200
- $ this ->assertTrue (class_exists (' \DateInvalidOperationException ' ));
201
- $ this ->assertTrue (class_exists (' \DateMalformedStringException ' ));
202
- $ this ->assertTrue (class_exists (' \DateMalformedIntervalStringException ' ));
203
- $ this ->assertTrue (class_exists (' \DateMalformedPeriodStringException ' ));
195
+ $ this ->assertTrue (class_exists (\DateError::class ));
196
+ $ this ->assertTrue (class_exists (\DateObjectError::class ));
197
+ $ this ->assertTrue (class_exists (\DateRangeError::class ));
198
+ $ this ->assertTrue (class_exists (\DateException::class ));
199
+ $ this ->assertTrue (class_exists (\DateInvalidTimeZoneException::class ));
200
+ $ this ->assertTrue (class_exists (\DateInvalidOperationException::class ));
201
+ $ this ->assertTrue (class_exists (\DateMalformedStringException::class ));
202
+ $ this ->assertTrue (class_exists (\DateMalformedIntervalStringException::class ));
203
+ $ this ->assertTrue (class_exists (\DateMalformedPeriodStringException::class ));
204
204
}
205
205
}
You can’t perform that action at this time.
0 commit comments