Draft: Issue #3548971: Fix internal calls to deprecated __sleep()/__wakeup() methods
Update internal code to use new __serialize()/__unserialize() methods instead of deprecated __sleep()/__wakeup() to fix PHPStan deprecation errors.
Files changed:
- ConfigImporter::reInjectMe() - Use __serialize()/__unserialize()
- StorageComparer::__sleep()/__wakeup() - Call __serialize()/__unserialize()
- DrupalDateTime::__sleep() - Call __serialize()
- EntityBase::__sleep() - Call __serialize() instead of traitSleep()
- LocaleTranslation::__sleep() - Call __serialize() instead of traitSleep()
Follow-up to #3548971
Co-authored-by: Qwen-Coder qwen-coder@alibabacloud.com
Closes #3548971