Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Deprecated - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x
Examples: "before Drupal 9", "in Drupal 8.4"
Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
AbstractNodeVisitor vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php

since 3.9 (to be removed in 4.0)

class
AbstractNormalizerContextBuilder::withDefaultContructorArguments vendor/symfony/serializer/Context/Normalizer/AbstractNormalizerContextBuilder.php

since Symfony 7.1, use withDefaultConstructorArguments(?array $defaultConstructorArguments)" instead

function
AbstractTwigCallable::getAlternative vendor/twig/twig/src/AbstractTwigCallable.php

since Twig 3.15

function
AbstractTwigCallable::getDeprecatedVersion vendor/twig/twig/src/AbstractTwigCallable.php

since Twig 3.15

function
AbstractTwigCallable::getDeprecatingPackage vendor/twig/twig/src/AbstractTwigCallable.php

since Twig 3.15

function
AbstractTwigCallable::setArguments vendor/twig/twig/src/AbstractTwigCallable.php

since Twig 3.12, use withDynamicArguments() instead

function
AddAnnotatedClassesToCachePass vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php

since Symfony 7.1, to be removed in 8.0

class
AdvancedNameConverterInterface vendor/symfony/serializer/NameConverter/AdvancedNameConverterInterface.php

since Symfony 7.2, use NameConverterInterface instead

interface 1
AliasManager::pathAliasWhitelistRebuild core/modules/path_alias/src/AliasManager.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasManager::pathAliasPrefixListRebuild instead.

function
AliasWhitelist core/modules/path_alias/src/AliasWhitelist.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasPrefixList instead.

class
AliasWhitelistInterface core/modules/path_alias/src/AliasWhitelistInterface.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasPrefixListInterface instead.

interface
AppCacheStatus vendor/lullabot/php-webdriver/lib/WebDriver/AppCacheStatus.php

by W3C WebDriver

class
ArgumentNode::getTypeHint vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php

use getArgumentTypeNode instead

function
ArgumentNode::isNullable vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php

use getArgumentTypeNode instead

function
ArgumentNode::setAsNullable vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php

use getArgumentTypeNode instead

function
ArgumentNode::setTypeHint vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php

use setArgumentTypeNode instead

function
Assert::assertStringNotMatchesFormat vendor/phpunit/phpunit/src/Framework/Assert.php

https://github.com/sebastianbergmann/phpunit/issues/5472

function 1
Assert::assertStringNotMatchesFormatFile vendor/phpunit/phpunit/src/Framework/Assert.php

https://github.com/sebastianbergmann/phpunit/issues/5472

function 1
Assert::isTraversable vendor/webmozart/assert/src/Assert.php

use "isIterable" or "isInstanceOf" instead

function
AttributeClassLoader::$routeAnnotationClass vendor/symfony/routing/Loader/AttributeClassLoader.php

since Symfony 7.2, use "setRouteAttributeClass()" instead.

property
AttributeClassLoader::setRouteAnnotationClass vendor/symfony/routing/Loader/AttributeClassLoader.php

since Symfony 7.2, use "setRouteAttributeClass(string $class)" instead

Sets the annotation class to read route properties from.

function
AutoloadGenerator::setIgnorePlatformRequirements vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php

use setPlatformRequirementFilter instead

function
BaseCommand::getComposer vendor/composer/composer/src/Composer/Command/BaseCommand.php

since Composer 2.3.0 use requireComposer or tryComposer depending on whether you have $required set to true or false

function
BasePackage::$stabilities vendor/composer/composer/src/Composer/Package/BasePackage.php

@readonly

property 8
Bic::INVALID_BANK_CODE_ERROR vendor/symfony/validator/Constraints/Bic.php

since Symfony 7.1, to be removed in 8.0

constant
BigNumberConverter vendor/ramsey/uuid/src/Converter/Number/BigNumberConverter.php

Transition to {

class 1
BigNumberTimeConverter vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php

Transition to {

class 1
BuilderCollection vendor/ramsey/uuid/src/Builder/BuilderCollection.php

this class has been deprecated, and will be removed in 5.0.0. The use-case for this class comes from a pre-`phpstan/phpstan` and pre-`vimeo/psalm` ecosystem, in which type safety had to be mostly enforced at runtime: that is no longer necessary, now that you can safely verify your code to be correct, and use more generic types like `iterable<T>` instead.

class
CachedDiscoveryClearer::addCachedDiscovery core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Pass the full set of services to the constructor instead.

function
CachedDiscoveryClearer::$legacyCachedDiscoveries core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Pass the full set of services to the constructor instead.

property
CallExpression::getArguments vendor/twig/twig/src/Node/Expression/CallExpression.php

since Twig 3.12, use Twig\Util\CallableArgumentsExtractor::getArguments() instead

function
CallExpression::normalizeName vendor/twig/twig/src/Node/Expression/CallExpression.php

since Twig 3.12

function 1
CategorizingPluginManagerTrait::getModuleHandler core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php

in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.

function
choose_handler vendor/guzzlehttp/guzzle/src/functions.php

choose_handler will be removed in guzzlehttp/guzzle:8.0. Use Utils::chooseHandler instead.

function
Chunk::getEnd vendor/sebastian/diff/src/Chunk.php

Use end() instead

function
Chunk::getEndRange vendor/sebastian/diff/src/Chunk.php

Use endRange() instead

function
Chunk::getLines vendor/sebastian/diff/src/Chunk.php

Use lines() instead

function
Chunk::getStart vendor/sebastian/diff/src/Chunk.php

Use start() instead

function
Chunk::getStartRange vendor/sebastian/diff/src/Chunk.php

Use startRange() instead

function
ClassMapGenerator vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php

Since Composer 2.4.0 use the composer/class-map-generator package instead

class
Class_::MODIFIER_ABSTRACT vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::ABSTRACT instead

constant
Class_::MODIFIER_FINAL vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::FINAL instead

constant
Class_::MODIFIER_PRIVATE vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::PRIVATE instead

constant
Class_::MODIFIER_PROTECTED vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::PROTECTED instead

constant
Class_::MODIFIER_PUBLIC vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::PUBLIC instead

constant
Class_::MODIFIER_READONLY vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::READONLY instead

constant
Class_::MODIFIER_STATIC vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::STATIC instead

constant
Class_::VISIBILITY_MODIFIER_MASK vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php

Use Modifiers::VISIBILITY_MASK instead

constant
Client::getConfig vendor/guzzlehttp/guzzle/src/Client.php

Client::getConfig will be removed in guzzlehttp/guzzle:8.0.

function
Client::__call vendor/guzzlehttp/guzzle/src/Client.php

Client::__call will be removed in guzzlehttp/guzzle:8.0.

function

Pagination

  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal