- Issue created by @mondrake
- Status changed to Needs review
11 months ago 9:47pm 4 March 2024 - 🇮🇹Italy mondrake 🇮🇹
Had to add
: void
to one__wakeup()
call that was being reported, from there I had to add it to all such methods otherwise they would not be covariant; by extension, I added: array
to all__sleep()
methods. - Status changed to RTBC
11 months ago 2:38pm 5 March 2024 - 🇺🇸United States smustgrave
Applied the MR and searched the repo for "#[\ReturnTypeWillChange]" using phpstorm. All instances appear to be replaced and caused no test failures.
- Status changed to Needs review
11 months ago 9:39pm 5 March 2024 - 🇮🇹Italy mondrake 🇮🇹
- Status changed to Postponed
11 months ago 7:31am 6 March 2024 - 🇮🇹Italy mondrake 🇮🇹
Parent was reverted and is blocked on making PHP 8.3 the default CI environment
- Status changed to Needs review
11 months ago 3:47pm 6 March 2024 - Status changed to RTBC
11 months ago 9:56am 7 March 2024 - 🇮🇹Italy mondrake 🇮🇹
The implementation of the deprecation reporting in 📌 Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency Fixed is now reporting about these missing fixes, that the current phpunit-bridge is not: https://git.drupalcode.org/issue/drupal-3417066/-/jobs/1012561
I think I can set this back to RTBC since the MR now is exactly as RTBCed in #4.
- 🇬🇧United Kingdom longwave UK
- #[\ReturnTypeWillChange] - public function asort($flags = SORT_REGULAR): bool { + public function asort($flags = SORT_REGULAR): TRUE {
IIRC
TRUE
return type is PHP 8.2, so we should drop PHP 8.1 support first? - 🇮🇹Italy mondrake 🇮🇹
Yes it's PHP 8.2. But aren't we shipping D11 on PHP 8.3? Meaning, haven't we dropped PHP < 8.3 in the branch already? For sure we are testing on PHP 8.3 only.
- 🇬🇧United Kingdom longwave UK
We haven't technically done that until 📌 [11.x] [PP-1] Add PHP 8.3 requirement to Drupal 11.0.x Postponed lands although CI is PHP 8.3 only.
- Status changed to Postponed
11 months ago 10:56am 7 March 2024 - 🇮🇹Italy mondrake 🇮🇹
If we need to wait for #11 then ok; I wouldn't revert the MR change from bool to TRUE, since it would need to readd #[\ReturnTypeWillChange] to prevent PHP 8.3 to throw its own deprecation.
- Status changed to Needs work
10 months ago 11:07pm 29 March 2024 - 🇮🇹Italy mondrake 🇮🇹
Merged with 11.x, no conflicts. Back to RTBC.
- Status changed to RTBC
10 months ago 5:24pm 31 March 2024 - Status changed to Fixed
10 months ago 7:46am 1 April 2024 - 🇬🇧United Kingdom catch
Committed/pushed to 11.x, thanks!
Ignore the cherry-pick and revert, copy/pasted the wrong commit hash when cherry-picking another commit.
Automatically closed - issue fixed for 2 weeks with no activity.