Results

16.08.2020
tome 8.x-1.x-dev :: modules/tome_static/src/TomeStaticHelper.php
use Symfony\Component\HttpFoundation\Request;
 
@trigger_error(sprintf('%s is deprecated in tome:8.x-1.8 and is removed from tome:2.0.0. Use TomeStaticUrlHelper instead. See https://www.drupal.org/node/3323474', TomeStaticHelper::class), E_USER_DEPRECATED);
 
/**
 * Provides helpers for the Tome Static module.
 *
 * @deprecated in tome:8.x-1.8 and is removed from tome:2.0.0. Use
 *   TomeStaticUrlHelper instead
11.05.2020
toolbar_menu 8.x-2.2 :: toolbar_menu.module
*/
function toolbar_menu_prerender_toolbar_tray(array $element) {
  @trigger_error('toolbar_menu_prerender_toolbar_tray() is deprecated in toolbar_menu:8.x-2.2 and is removed from toolbar_menu:8.x-3.0. Use \Drupal\toolbar_menu\ToolbarMenuPrerender::prerenderToolbarTray() instead. See https://www.drupal.org/project/toolbar_menu/issues/3072454', E_USER_DEPRECATED); // phpcs:ignore
  return ToolbarMenuPrerender::prerenderToolbarTray($element);
}
25.10.2018
toolshed 8.x-1.x-dev :: src/Plugin/StaticYamlPluginManager.php
namespace Drupal\toolshed\Plugin;
 
@trigger_error('\Drupal\toolshed\Plugin\StaticYamlPluginManager is deprecated in toolshed:2.0.0-alpha1 and is removed from toolshed:2.0.0-rc1. Instead implement the \Drupal\toolshed\StrategyManagerInterface. See https://www.drupal.org/project/iconset/issues/1', E_USER_DEPRECATED);
 
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\Component\Plugin\PluginInspectionInterface;
 
/**
 * Create a plugin manager that maintains single instances of plugins.
16.04.2020
twig_field_value 2.0.0 :: src/Twig/Extension/FieldValueExtension.php
  $this->loggerChannel = $loggerFactory->get('twig_field_value');
  if (is_null($renderer)) {
    @trigger_error('Calling ' . __METHOD__ . '() without the $renderer argument is deprecated in twig_value_field:2.0.5 and will be required in twig_value_field:3.0.0. See https://www.drupal.org/node/3478478', E_USER_DEPRECATED);
    $renderer = \Drupal::service('renderer');
  }
  $this->renderer = $renderer;
}
 
/**
04.07.2020
ui_styles 8.x-1.x-dev :: src/StylePluginManager.php
*/
public function alterForm(array $form, array $selected = [], string $extra = '', string $theme = ''): array {
  @\trigger_error('StylePluginManagerInterface::alterForm() is deprecated in ui_styles:8.x-1.14 and is removed in ui_styles:2.0.0. See https://www.drupal.org/node/3500750', \E_USER_DEPRECATED);
  if (!empty($theme)) {
    $grouped_plugin_definitions = $this->getDefinitionsForTheme($theme);
  }
  else {
    $grouped_plugin_definitions = $this->getGroupedDefinitions();
  }
04.07.2020
ui_styles 8.x-1.x-dev :: src/UiStylesUtility.php
*/
public static function extractSelectedStyles(array $formValues): array {
  @\trigger_error('UiStylesUtility::extractSelectedStyles() is deprecated in ui_styles:8.x-1.14 and is removed in ui_styles:2.0.0. See https://www.drupal.org/node/3500750', \E_USER_DEPRECATED);
  $selected = [];
  foreach ($formValues as $id => $value) {
    // Case of a group.
    if (\is_array($value)) {
      $selected = \array_merge($selected, self::extractSelectedStyles($value));
    }
09.10.2020
upgrade_status 8.x-2.11 :: src/TwigDeprecationAnalyzer.php
set_error_handler(function ($type, $msg, $file, $line) use (&$deprecations) {
  if (\E_USER_DEPRECATED === $type) {
    if (preg_match('!([a-zA-Z0-9\_\-\/]+.html\.twig)!', $msg, $file_matches)) {
      // Caught a Twig syntax based deprecation, record file name and line
      // number from the message we caught.
      preg_match('/(\d+).?$/', $msg, $line_matches);
      $msg = preg_replace('! in (.+)\.twig at line \d+\.!', '.', $msg);
      $msg .= ' See https://drupal.org/node/3071078.';
09.10.2020
upgrade_status 8.x-2.11 :: tests/modules/upgrade_status_test_contrib_error/upgrade_status_test_contrib_error.module
*/
function upgrade_status_test_contrib_error_function_9_to_10() {
  @trigger_error("upgrade_status_test_contrib_error_function_9_to_10() is deprecated in Drupal 9.1.0 and will be removed before Drupal 10.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}
 
/**
 * Tests function deprecation detection from Drupal 9 to 11.
 *
 * @deprecated in drupal:9.1.0 and is removed from drupal:11.0.0. Use the
*/
function upgrade_status_test_contrib_error_function_9_to_11() {
  @trigger_error("upgrade_status_test_contrib_error_function_9_to_11() is deprecated in Drupal 9.1.0 and will be removed before Drupal 11.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}
 
/**
 * Tests function deprecation detection from Drupal 10.3 to 11.0.
 *
 * @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use the
*/
function upgrade_status_test_contrib_error_function_10_to_11() {
  @trigger_error("upgrade_status_test_contrib_error_function_10_to_11() is deprecated in Drupal 10.3.0 and will be removed before Drupal 11.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}
 
/**
 * Tests function deprecation detection from Drupal 10.0 to 12.0.
 *
 * @deprecated in drupal:10.0.0 and is removed from drupal:12.0.0. Use the
*/
function upgrade_status_test_contrib_error_function_10_to_12() {
  @trigger_error("upgrade_status_test_contrib_error_function_10_to_12() is deprecated in Drupal 10.0.0 and will be removed before Drupal 12.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}
 
/**
 * Tests function deprecation detection from Drupal 11.1 to 13.0
 *
 * @deprecated in drupal:11.1.0 and is removed from drupal:13.0.0. Use the
*/
function upgrade_status_test_contrib_error_function_11_to_13() {
  @trigger_error("upgrade_status_test_contrib_error_function_11_to_13() is deprecated in Drupal 11.1.0 and will be removed before Drupal 13.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}
07.09.2022
vgwort 2.0.x-dev :: src/EntityQueuer.php
  if ($moduleHandler === NULL) {
    $moduleHandler = \Drupal::service('module_handler');
    @trigger_error('Calling ' . __METHOD__ . '() without the $moduleHandler argument is deprecated in vgwort:2.0.0 and will be required in vgwort:2.1.0. See https://www.drupal.org/node/3418306', E_USER_DEPRECATED);
  }
  $this->moduleHandler = $moduleHandler;
}
 
/**
 * Adds a registration notification for an entity to the VG wort queue.
11.11.2019
views_pdf 8.x-1.x-dev :: src/Plugin/views/display/PDF.php
  parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider, $state);
  if (!$parentFormSelector) {
    @trigger_error('Calling ' . __METHOD__ . '() without the $parent_form_selector argument is deprecated in drupal:9.3.0 and the $parent_form_selector argument will be required in drupal:10.0.0. See https://www.drupal.org/node/3027559', E_USER_DEPRECATED);
    $parent_form_selector = \Drupal::service('menu.parent_form_selector');
  }
  $this->renderer = $renderer;
}
 
/**
17.06.2020
views_templates 8.x-1.x-dev :: src/Plugin/ViewsDuplicateBuilderBase.php
  if ($logger === NULL) {
    @trigger_error('Calling ' . __METHOD__ . '() without the $logger argument is deprecated in drupal:10.1.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/2932520', E_USER_DEPRECATED);
    // @phpstan-ignore-next-line
    $logger = \Drupal::service('logger.channel.views_templates');
  }
  $this->logger = $logger;
}
28.06.2020
webp 8.x-1.0-beta4 :: src/Controller/FileDownloadController.php
public function __construct(StreamWrapperManagerInterface $streamWrapperManager = NULL, Webp $webp, ImageFactory $image_factory) {
  if (!$streamWrapperManager) {
    @trigger_error('Calling FileDownloadController::__construct() without the $streamWrapperManager argument is deprecated in drupal:8.8.0. The $streamWrapperManager argument will be required in drupal:9.0.0. See https://www.drupal.org/node/3035273', E_USER_DEPRECATED);
    $streamWrapperManager = \Drupal::service('stream_wrapper_manager');
  }
  $this->streamWrapperManager = $streamWrapperManager;
  $this->webp = $webp;
  $this->imageFactory = $image_factory;
  $this->logger = $this->getLogger('image');
03.06.2022
webprofiler 10.0.x-dev :: templates/Error/logs.html.php
        $severity = $exception->getSeverity();
    }
    $status = \E_DEPRECATED === $severity || \E_USER_DEPRECATED === $severity ? 'warning' : 'normal';
} ?>
<tr class="status-<?= $status; ?>" data-filter-level="<?= strtolower($this->escape($log['priorityName'])); ?>"<?php if ($channelIsDefined) { ?> data-filter-channel="<?= $this->escape($log['channel']); ?>"<?php } ?>>
    <td class="text-small nowrap">
        <span class="colored text-bold"><?= $this->escape($log['priorityName']); ?></span>
        <span class="text-muted newline"><?= date('H:i:s', $log['timestamp']); ?></span>
    </td>
11.10.2020
wxt 8.x-3.011 :: modules/custom/wxt_core/src/FormHelper.php
*/
public function __construct(ElementInfoManagerInterface $element_info) {
  @trigger_error(__CLASS__ . ' is deprecated in wxt_core:8.x-5.6 and will be removed in wxt_core:8.x-6.0. Use \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() instead. See https://www.drupal.org/node/3156221', E_USER_DEPRECATED);
  $this->elementInfo = $element_info;
}
 
/**
 * Applies standard process functions to a form element.
 *
17.10.2020
xero 8.x-2.x-dev :: src/Plugin/DataType/Contact.php
public function get($property_name) {
  if ($property_name === 'Status') {
    @trigger_error('The Status property is deprecated in xero:3.0.0 and will be removed in xero:4.0.0. This property was changed in Xero API. See https://developer.xero.com/documentation/api/accounting/contacts#get-contacts', E_USER_DEPRECATED);
    return parent::get('ContactStatus');
  }
  return parent::get($property_name);
}
 
/**

Pages

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc