Results
02.04.2025
mon_auth_server 1.0.x-dev ::
oauth2_server/src/OAuth2Storage.php
$this->time = $time;
if ($fileUrlGenerator === NULL) {
@trigger_error('Calling ' . __METHOD__ . ' without the $fileUrlGenerator argument is deprecated in oauth2_server:2.1.0 and it will be required in oauth2_server:3.0.0. See https://www.drupal.org/node/3288840', E_USER_DEPRECATED);
/* @phpstan-ignore-next-line */
$fileUrlGenerator = \Drupal::service('file_url_generator');
}
$this->fileUrlGenerator = $fileUrlGenerator;
} 02.04.2025
mon_oauth2_server 1.0.x-dev ::
src/OAuth2Storage.php
$this->time = $time;
if ($fileUrlGenerator === NULL) {
@trigger_error('Calling ' . __METHOD__ . ' without the $fileUrlGenerator argument is deprecated in mon_oauth2_server:2.1.0 and it will be required in mon_oauth2_server:3.0.0. See https://www.drupal.org/node/3288840', E_USER_DEPRECATED);
/* @phpstan-ignore-next-line */
$fileUrlGenerator = \Drupal::service('file_url_generator');
}
$this->fileUrlGenerator = $fileUrlGenerator;
} 21.03.2025
msso 1.1.x-dev ::
oauth2_server/src/OAuth2Storage.php
$this->time = $time;
if ($fileUrlGenerator === NULL) {
@trigger_error('Calling ' . __METHOD__ . ' without the $fileUrlGenerator argument is deprecated in oauth2_server:2.1.0 and it will be required in oauth2_server:3.0.0. See https://www.drupal.org/node/3288840', E_USER_DEPRECATED);
/* @phpstan-ignore-next-line */
$fileUrlGenerator = \Drupal::service('file_url_generator');
}
$this->fileUrlGenerator = $fileUrlGenerator;
} 26.09.2025
tester 1.0.0 ::
modules/tester_error_generator/tester_error_generator.module
case 3:
$text = t('Generate a deprecation');
@trigger_error($text, E_USER_DEPRECATED);
break;
case 4:
$text = t('Generate class errors');
$testcase = new TesterErrorClass();
$testcase->testDynamicProperty(); 03.09.2025
yoomoney_api 2.5.2 ::
vendor/composer/InstalledVersions.php
public static function getRawData()
{
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = include __DIR__ . '/installed.php'; 30.06.2019
accordion_menus 8.x-3.0 ::
src/Plugin/Block/AccordionMenusBlock.php
$this->menuTree = $menu_tree;
if ($menu_active_trail === NULL) {
@trigger_error('The menu.active_trail service must be passed to SystemMenuBlock::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2669550.', E_USER_DEPRECATED);
$menu_active_trail = \Drupal::service('menu.active_trail');
}
$this->menuActiveTrail = $menu_active_trail;
$this->configFactory = $config_factory;
} 19.05.2022
acquia_dam 1.0.0-rc1 ::
src/Client/AcquiaDamClient.php
*/
public function getAssetVersionList(string $id): array {
@trigger_error('AcquiaDamClient::getAssetVersionList() is deprecated in acquia_dam:1.0.14 and is removed from acquia_dam:1.2.0. The getAssetVersionList method of V1 API will be removed, we recommend using the getAssetLatestVersion method instead with V2 API. See https://www.drupal.org/project/acquia_dam/issues/3462318', E_USER_DEPRECATED);
try {
$domain = $this->acquiaDamConfig->get('domain');
$response = $this->get("https://$domain/api/rest/asset/uuid/$id/assetversions");
$data = (string) $response->getBody();
}
catch (\Exception $e) { 26.02.2021
acquia_search 3.0.1 ::
src/Event/AcquiaPossibleCoresEvent.php
public function __construct($server, array $possible_cores) {
if (is_string($server)) {
@trigger_error('Calling ' . __METHOD__ . '() with $server as a string instead of \Drupal\search_api\Entity\ServerInterface is deprecated in acquia_search:3.2.0 and will be required in drupal:3.3.0. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
}
$this->server = $server;
$this->possibleCores = $possible_cores;
$this->coreReadonly = TRUE;
} 26.02.2021
acquia_search 3.0.1 ::
src/EventSubscriber/PossibleCores/LocalOverride.php
if (isset($search_settings['server_overrides'][$server_id])) {
if (is_string($search_settings['server_overrides'][$server_id])) {
@trigger_error('Setting the core as a string value on settings.php acquia_search.server_overrides.SERVER_ID setting is deprecated in acquia_search:3.2.0 and will be removed from acquia_search:3.3.0. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$server_name = $search_settings['server_overrides'][$server_id];
$server_readonly = $search_settings['read_only'] ?? TRUE;
}
elseif (isset($search_settings['server_overrides'][$server_id]['core_id'])) {
$server_name = $search_settings['server_overrides'][$server_id]['core_id'];
$server_readonly = $search_settings['server_overrides'][$server_id]['read_only'] ?? TRUE;
elseif (isset($search_settings['override_search_core'])) {
@trigger_error('Settings variable acquia_search.override_search_core is deprecated in acquia_search:3.2.0 and will be removed from acquia_search:3.3.0. To override the default Acquia Search server, add the values to acquia_search.server_overrides similar to any other Acquia Search server. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$event->addPossibleCore($search_settings['override_search_core']);
// @phpstan-ignore-next-line
$event->stopPropagation();
}
// Lastly, set the global read_only variable.
if (isset($search_settings['read_only'])) {
// Lastly, set the global read_only variable.
if (isset($search_settings['read_only'])) {
@trigger_error('The global settings.php acquia_search.read_only setting is deprecated in acquia_search:3.2.0 and will be removed from acquia_search:3.3.0. There is no replacement. Set each servers read-only status individually. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$readonly = $search_settings['read_only'] ?? TRUE;
$event->setReadOnly($readonly);
}
return;
}
$acquia_search_core = $this->configFactory->get('acquia_search.settings')->get('override_search_core') ?? '';
if (is_string($acquia_search_core) && $acquia_search_core !== '') {
@trigger_error('Config variable acquia_search.settings.override_search_core is deprecated in acquia_search:3.2.0 and will be removed from acquia_search:3.3.0. It is replaced with settings variable: "acquia_search.server_overrides.acquia_search_server". See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$event->addPossibleCore($acquia_search_core);
}
$acquia_search_solr_core = $this->configFactory->get('acquia_search_solr.settings')->get('override_search_core') ?? '';
if (is_string($acquia_search_solr_core) && $acquia_search_solr_core !== '') {
@trigger_error('Config variable acquia_search_solr.settings.override_search_core is deprecated in acquia_search:3.2.0 and will be removed from acquia_search:3.3.0. It is replaced with settings variable: "acquia_search.server_overrides.acquia_search_server". See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$event->addPossibleCore($acquia_search_solr_core);
}
}
} 26.02.2021
acquia_search 3.0.1 ::
src/Helper/Runtime.php
*/
public static function shouldEnforceReadOnlyMode(): bool {
@trigger_error('Runtime::shouldEnforceReadOnlyMode() is deprecated in acquia_search:3.2.0 and is removed from acquia_search:3.3.0. Use the server backend to get read-only status. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
$read_only = TRUE;
\Drupal::moduleHandler()->alter('acquia_search_should_enforce_read_only', $read_only);
return $read_only;
}
/** 26.02.2021
acquia_search 3.0.1 ::
src/PreferredCoreService.php
public function __construct($server, EventDispatcherInterface $dispatcher, Subscription $subscription, AcquiaSearchApiClient $acquia_search_api_client, ModuleHandlerInterface $module_handler) {
if (is_string($server)) {
@trigger_error('Calling ' . __METHOD__ . '() with $server as a string instead of \Drupal\search_api\ServerInterface is deprecated in acquia_search:3.2.0 and will be required in drupal:3.3.0. See https://www.drupal.org/project/acquia_search/issues/3432307', E_USER_DEPRECATED);
}
$this->serverId = ($server instanceof Server) ? $server->id() : $server;
$this->server = ($server instanceof Server) ? $server : NULL;
$this->dispatcher = $dispatcher;
$this->subscription = $subscription;
$this->acquiaSearchApiClient = $acquia_search_api_client; 12.04.2024
action 1.x-dev ::
src/ActionListBuilder.php
$this->actionManager = $action_manager;
if (!$formBuilder) {
@trigger_error('Calling ' . __METHOD__ . ' without the $formBuilder argument is deprecated in drupal:10.3.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/3159776', E_USER_DEPRECATED);
$this->formBuilder = \Drupal::service('form_builder');
}
}
/**
* {@inheritdoc} 08.07.2020
addtocalendar 8.x-3.x-dev ::
src/Plugin/Field/FieldFormatter/AddToCalendar.php
$this->token = $token;
if (is_null($renderer)) {
@trigger_error('Calling AddToCalendar::_construct() without the $renderer argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
$this->renderer = \Drupal::service('renderer');
}
else {
$this->renderer = $renderer;
}
if (is_null($module_handler)) {
if (is_null($module_handler)) {
@trigger_error('Calling AddToCalendar::_construct() without the $module_handler argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
$this->moduleHandler = \Drupal::service('module_handler');
}
else {
$this->moduleHandler = $module_handler;
}
} 08.07.2020
addtocalendar 8.x-3.x-dev ::
src/AddToCalendarApiWidget.php
if (is_null($renderer)) {
@trigger_error('Calling AddToCalendarApiWidget::_construct() without the $renderer argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
$this->renderer = \Drupal::service('renderer');
}
else {
$this->renderer = $renderer;
}
} 28.07.2020
adva 8.x-1.0-rc9 ::
src/Plugin/adva/OverridingAccessConsumer.php
*/
public function rebuildCache($batch_mode = FALSE) {
@trigger_error(__METHOD__ . '() is deprecated in adva:1.1 and is removed from adva:2.0. Instead, you should use call queue instead.', E_USER_DEPRECATED);
if (!$batch_mode) {
// Queue the rebuilding of access records.
$this->queue();
} 28.02.2020
advancedqueue 8.x-1.x-dev ::
src/Processor.php
public function __construct(EventDispatcherInterface $event_dispatcher, TimeInterface $time, JobTypeManager $job_type_manager, ?LoggerInterface $logger = NULL) {
if ($logger === NULL) {
@trigger_error('Calling Processor::__construct() without the $logger argument is deprecated in advancedqueue:8.x-1.0 and will be required before advancedqueue:8.x-2.0. See https://www.drupal.org/project/advancedqueue/issues/3192113', E_USER_DEPRECATED);
$logger = \Drupal::service('logger.channel.cron');
}
$this->eventDispatcher = $event_dispatcher;
$this->time = $time;
$this->jobTypeManager = $job_type_manager;
$this->logger = $logger; 11.04.2022
aggregator 2.x-dev ::
src/Entity/Feed.php
public function __set($name, $value) {
if ($name == 'items') {
@trigger_error('The $items property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
$this->items = $value;
return;
}
if ($name == 'source_string') {
@trigger_error('The $source_string property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
$this->source_string = $value;
return;
}
parent::__set($name, $value);
}
public function &__get($name) {
if ($name == 'items') {
@trigger_error('The $items property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
return $this->items;
}
if ($name == 'source_string') {
@trigger_error('The $source_string property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
return $this->source_string;
}
return parent::__get($name);
}
/**
*/
public function getHash() {
@trigger_error('Feed::getHash() is deprecated in aggregator:2.1.0 and is removed from aggregator:3.0.0. Use \Drupal::service("aggregator.items.importer")->getHash($feed); instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
return \Drupal::service('aggregator.items.importer')->getHash($this);
}
/**
* {@inheritdoc}
*/
*/
public function setHash($hash) {
@trigger_error('Feed::setHash() is deprecated in aggregator:2.1.0 and is removed from aggregator:3.0.0. Use \Drupal::service("aggregator.items.importer")->setHash($feed, $hash); instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
\Drupal::service('aggregator.items.importer')->setHash($this, $hash);
return $this;
}
/**
* {@inheritdoc} 11.04.2022
aggregator 2.x-dev ::
src/Entity/Item.php
*/
public static function buildUri(ItemInterface $item) {
@trigger_error('Item::buildUri() is deprecated in aggregator:2.2.0 and is removed from aggregator:3.0.0. Use Item::buildItemUri() instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
return $item->buildItemUri();
}
} 11.03.2021
amazon_ses 2.0.x-dev ::
src/Traits/HandlerTrait.php
*/
protected function setDeprecationMessage() {
@trigger_error('\Drupal\amazon_ses\Traits\HandlerTrait is deprecated in amazon_ses:3.1.0 and will be removed in amazon_ses:4.0.0. See https://www.drupal.org/project/amazon_ses/issues/3466096', E_USER_DEPRECATED);
}
} 11.03.2021
amazon_ses 2.0.x-dev ::
src/Traits/MessageBuilderTrait.php
*/
protected function setMessageBuilder(MessageBuilderInterface $message_builder) {
@trigger_error('\Drupal\amazon_ses\Traits\MessageBuilderTrait is deprecated in amazon_ses:3.1.0 and will be removed in amazon_ses:4.0.0. See https://www.drupal.org/project/amazon_ses/issues/3466096', E_USER_DEPRECATED);
$this->messageBuilder = $message_builder;
return $this;
}
} 