Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Nov 2025 at 00:01 UTC
Updated:
18 Nov 2025 at 10:29 UTC
Jump to comment: Most recent
Comments
Comment #3
alexpottComment #4
smustgrave commentedDownloaded https://addons.ddev.com/addons/ddev/ddev-php85
Ran ddev exec -s php85 ./vendor/bin/phpunit -c core/phpunit.xml.dist core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
OK, but there were issues!
Tests: 62, Assertions: 169, Deprecations: 3.
Applied the MR and now only got 2
For record the 2 are
The __sleep() serialization magic method has been deprecated. Implement __serialize() instead (or in addition, if support for old PHP versions is necessary)
The __wakeup() serialization magic method has been deprecated. Implement __unserialize() instead (or in addition, if support for old PHP versions is necessary)
Comment #5
godotislateI wonder if that ddev 8.5 version is a little old, because the
__sleepand__wakeupdeprecations were reverted per #3548971-5: Replace PHP soft-deprecated __sleep()/__wakeup() with __serialize()/__unserialize().Comment #6
alexpott#5 is correct - that's an old PHP 8.5 version.
Comment #8
catch@smustgrave it should theoretically be possible to check a branch run on PHP 8.5 against HEAD vs one from the MR here and compare the two, to avoid having to set up PHP 8.5 locally, this might have saved some time although I'm not sure how discernable the PHP 8.5 test failures are with the amount of deprecations messages we have.
Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!