session tests should use TestingAccessWrapper::newFromClass instead of own ReflectionProperty::setValue to benefit from the fix T352060
There were 8 errors:
1) MediaWiki\Session\PHPSessionHandlerTest::testEnableFlags
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:102
Caused by
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:45
2) MediaWiki\Session\PHPSessionHandlerTest::testInstall
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:67
5) MediaWiki\Session\PHPSessionHandlerTest::testDisabled with data set #0 ('open', array('', ''))
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:318
6) MediaWiki\Session\PHPSessionHandlerTest::testDisabled with data set #1 ('read', array(''))
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:318
7) MediaWiki\Session\PHPSessionHandlerTest::testDisabled with data set #2 ('write', array('', ''))
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:318
8) MediaWiki\Session\PHPSessionHandlerTest::testDisabled with data set #3 ('destroy', array(''))
Calling ReflectionProperty::setValue() with a single argument is deprecated
/workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:318