Change record status: 
Project: 
Introduced in branch: 
10.1.x
Introduced in version: 
10.1.0
Description: 

$extensionInfo['mtime'] and $file->info['_info_file_ctime'] are deprecated in Drupal 10.1 and will be removed from Drupal 11.0.

Use the extension object, $extension->getMTime() for $extensionInfo['mtime'] and $extension->getFileInfo()->getCTime() for $extension->info['_info_file_ctime'].

Impacts: 
Module developers