Skip to content

Deprecation error for __wakeup() on PHP 8.5.0-dev (edc2671227835e158d93ab061e98ffa3101219e7) #6366

@ADmad

Description

@ADmad
Q A
PHPUnit version 12.3.10
PHP version 8.5.0-dev (edc2671227835e158d93ab061e98ffa3101219e7)
Installation Method Composer

Summary

/home/runner/work/cakephp/cakephp/vendor/phpunit/phpunit/src/Framework/MockObject/Generator/DoubledClass.php(51) : eval()'d code:3
The __wakeup() serialization magic method has been deprecated. Implement __unserialize() instead (or in addition, if support for old PHP versions is necessary)

Refs https://wiki.php.net/rfc/soft-deprecate-sleep-wakeup

Metadata

Metadata

Labels

feature/test-doublesTest Stubs and Mock Objectstype/change-in-php-requires-adaptationA change in PHP requires a change so that existing PHPUnit functionality continues to workversion/10Something affects PHPUnit 10version/11Something affects PHPUnit 11version/12Something affects PHPUnit 12version/8Something affects PHPUnit 8version/9Something affects PHPUnit 9

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions