- 🇬🇧United Kingdom paul.moloney
I've extended the automated patch to help provide a D10-ready release.
The Upgrade Status module only spotted 1 manual issue, which was the core_version_requirement in the module's info file.
- 🇮🇳India Bushra Shaikh
Verified patch #4 on Drupal 9.4.x and Checked using Upgrade Status.
I found 15 error in the code while checking deprecated code in drupal check.------ ------------------------------------------------------------------------ ----- Line Tests\Controller\MediaSitemapBatchControllerTest.php ------ ------------------------------------------------------------------------ ----- 16 Class Drupal\media_sitemap\Tests\MediaSitemapBatchControllerTest extends unknown class Drupal\simpletest\WebTestBase. � Learn more at https://phpstan.org/user-guide/discovering-symbols 23 Property Drupal\media_sitemap\Tests\MediaSitemapBatchControllerTest::$database has unknown class Drupal\media_sitemap\Tests\Drupal\Core\Database\Driver\mysql\Connection as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 39 Drupal\media_sitemap\Tests\MediaSitemapBatchControllerTest::setUp() calls parent::setUp() but Drupal\media_sitemap\Tests\MediaSitemapBatchControllerTest does not extend any class. 47 Call to an undefined method Drupal\media_sitemap\Tests\MediaSitemapBatchControllerTest::assertEqual s(). ------ ------------------------------------------------------------------------ ----- ------ ------------------------------------------------------------------------ - Line Tests\Controller\MediaSitemapControllerTest.php ------ ------------------------------------------------------------------------ - 17 Class Drupal\media_sitemap\Tests\MediaSitemapControllerTest extends unknown class Drupal\simpletest\WebTestBase. � Learn more at https://phpstan.org/user-guide/discovering-symbols 24 Property Drupal\media_sitemap\Tests\MediaSitemapControllerTest::$database has unknown class Drupal\media_sitemap\Tests\Drupal\Core\Database\Driver\mysql\Connection as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 31 Property Drupal\media_sitemap\Tests\MediaSitemapControllerTest::$config_factory has unknown class Drupal\media_sitemap\Tests\Drupal\Core\Config\ConfigFactory as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 47 Drupal\media_sitemap\Tests\MediaSitemapControllerTest::setUp() calls parent::setUp() but Drupal\media_sitemap\Tests\MediaSitemapControllerTest does not extend any class. 55 Call to an undefined method Drupal\media_sitemap\Tests\MediaSitemapControllerTest::assertEquals(). ------ ------------------------------------------------------------------------ - ------ ------------------------------------------------------------------------ ------ Line src\Controller\MediaSitemapBatchController.php ------ ------------------------------------------------------------------------ ------ 27 Property Drupal\media_sitemap\Controller\MediaSitemapBatchController::$database has unknown class Drupal\media_sitemap\Controller\Drupal\Core\Database\Driver\mysql\Conne ction as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 32 Parameter $database of method Drupal\media_sitemap\Controller\MediaSitemapBatchController::__construc t() has typehint with deprecated class Drupal\Core\Database\Driver\mysql\Connection: in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. ------ ------------------------------------------------------------------------ ------ ------ ------------------------------------------------------------------------ ------ Line src\Controller\MediaSitemapController.php ------ ------------------------------------------------------------------------ ------ 29 Property Drupal\media_sitemap\Controller\MediaSitemapController::$database has unknown class Drupal\media_sitemap\Controller\Drupal\Core\Database\Driver\mysql\Conne ction as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 36 Property Drupal\media_sitemap\Controller\MediaSitemapController::$config_factory has unknown class Drupal\media_sitemap\Controller\Drupal\Core\Config\ConfigFactory as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 40 Parameter $database of method Drupal\media_sitemap\Controller\MediaSitemapController::__construct() has typehint with deprecated class Drupal\Core\Database\Driver\mysql\Connection: in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. ------ ------------------------------------------------------------------------ ------ ------ --------------------------------------------------------------- Line src\MediaSitemapGenerator.php ------ --------------------------------------------------------------- 50 Parameter $database of method Drupal\media_sitemap\MediaSitemapGenerator::__construct() has typehint with deprecated class Drupal\Core\Database\Driver\mysql\Connection: in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. ------ --------------------------------------------------------------- [ERROR] Found 15 errors