Skip to content

Commit 5fedf23

Browse files
Update CHANGELOG/README files
1 parent 174a51b commit 5fedf23

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1.29.0
1+
# 1.28.0
22

33
* Polyfill `ldap_exop_sync()`
44
* Polyfill `ldap_connect_wallet()`
@@ -9,10 +9,8 @@
99
* Polyfill `mb_str_pad()`
1010
* Polyfill `#[\Override]` attribute
1111
* Use full case folding when using `MB_CASE_FOLD`
12-
13-
# 1.28.0
14-
1512
* 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
1614

1715
# 1.27.0
1816

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Polyfills are provided for:
7878
- the `ldap_exop_sync` function introduced in PHP 8.3;
7979
- the `ldap_connect_wallet` function introduced in PHP 8.3;
8080
- the `stream_context_set_options` function introduced in PHP 8.3;
81+
- the `Date*Exception/Error` classes introduced in PHP 8.3;
8182

8283
It is strongly recommended to upgrade your PHP version and/or install the missing
8384
extensions whenever possible. This polyfill should be used only when there is no

composer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,5 @@
7070
"src/Php73/Resources/stubs"
7171
]
7272
},
73-
"minimum-stability": "dev",
74-
"extra": {
75-
"branch-alias": {
76-
"dev-main": "1.29-dev"
77-
}
78-
}
73+
"minimum-stability": "dev"
7974
}

src/Php83/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This component provides features added to PHP 8.3 core:
99
- [`ldap_exop_sync`](https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures)
1010
- [`ldap_connect_wallet`](https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures)
1111
- [`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)
1213

1314
More information can be found in the
1415
[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).

tests/Php83/Php83Test.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ public function testStreamContextSetOptions()
192192

193193
public function testDateTimeExceptionClassesExist()
194194
{
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));
204204
}
205205
}

0 commit comments

Comments
 (0)