Deprecated - Drupal 11.1.x - Drupal Core
Primary tabs
Title | File name | Deprecation | Type | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
LazyUuidFromString::getTimeMid | vendor/ |
Use { { instance, you may call { and use the arbitrary-precision math library of your choice to convert it to a string integer. |
function | ||||
LazyUuidFromString::getTimestamp | vendor/ |
Use { { instance, you may call { and use the arbitrary-precision math library of your choice to convert it to a string integer. |
function | ||||
LibraryDiscovery | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Asset\LibraryDiscoveryCollector instead. |
class | ||||
LibraryDiscoveryCollector::clearCachedDefinitions | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use LibraryDiscoveryCollector::clear() instead. |
function | ||||
LibraryDiscoveryInterface::clearCachedDefinitions | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use LibraryDiscoveryCollector::clear() instead. |
function | 2 | |||
locale_config_batch_refresh_name | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use locale_config_batch_update_config_translations($names, $langcodes, $context) instead. |
function | ||||
locale_config_batch_set_config_langcodes | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use locale_config_batch_update_default_config_langcodes(&$context) instead. |
function | ||||
MatchingRouteNotFoundException | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement. |
class | ||||
MessageFactoryDiscovery | vendor/ |
This will be removed in 2.0. Consider using Psr17FactoryDiscovery. |
class | ||||
MetadataCollection::isIgnoreClassForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
function | ||||
MetadataCollection::isIgnoreFunctionForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
function | ||||
MetadataCollection::isIgnoreMethodForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
function | ||||
MetadataMinifier | vendor/ |
Use Composer\MetadataMinifier\MetadataMinifier instead |
class | ||||
Method::create | vendor/ |
Create using static factory is deprecated, this method should not be called directly by library consumers |
function | ||||
Method::getArguments | vendor/ |
Method deprecated, use { |
function | ||||
MethodNode::getReturnType | vendor/ |
use getReturnTypeNode instead |
function | ||||
MethodNode::hasNullableReturnType | vendor/ |
use getReturnTypeNode instead |
function | ||||
MethodNode::hasReturnType | vendor/ |
use getReturnTypeNode instead |
function | ||||
MethodNode::setNullableReturnType | vendor/ |
use setReturnTypeNode instead |
function | ||||
MethodNode::setReturnType | vendor/ |
use setReturnTypeNode instead |
function | ||||
MigrateSkipProcessException | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. Return FALSE from a process plugin's isPipelineStopped() method to stop further processing on a pipeline. |
class | ||||
Mixin::allIsTraversable | vendor/ |
use "isIterable" or "isInstanceOf" instead |
function | ||||
Mixin::allNullOrIsTraversable | vendor/ |
use "isIterable" or "isInstanceOf" instead |
function | ||||
Mixin::nullOrIsTraversable | vendor/ |
use "isIterable" or "isInstanceOf" instead |
function | ||||
MockBuilder::addMethods | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5320 |
function | ||||
MockBuilder::allowMockingUnknownTypes | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5308 |
function | ||||
MockBuilder::disableArgumentCloning | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5315 |
function | ||||
MockBuilder::disableAutoload | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5309 |
function | ||||
MockBuilder::disableProxyingToOriginalMethods | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5307 |
function | ||||
MockBuilder::disallowMockingUnknownTypes | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5308 |
function | ||||
MockBuilder::enableArgumentCloning | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5315 |
function | ||||
MockBuilder::enableAutoload | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5309 |
function | ||||
MockBuilder::enableProxyingToOriginalMethods | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5307 |
function | ||||
MockBuilder::getMockForAbstractClass | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5305 |
function | ||||
MockBuilder::getMockForTrait | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5306 |
function | ||||
MockBuilder::setProxyTarget | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5307 |
function | ||||
MockTrait | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5243 |
class | ||||
ModuleHandlerInterface::getHookInfo | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Not needed any more. |
function | 1 | |||
ModuleHandlerInterface::getName | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.module')->getName($module) instead. |
function | 1 | |||
ModuleHandlerInterface::writeCache | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Not needed any more. |
function | 1 | |||
ModuleInstallerInterface::addUninstallValidator | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Inject the uninstall validators into the constructor instead. |
function | 2 | |||
NameExpression::isSimple | vendor/ |
since Twig 3.11 (to be removed in 4.0) |
function | ||||
NameExpression::isSpecial | vendor/ |
since Twig 3.11 (to be removed in 4.0) |
function | 1 | |||
NativeSessionStorage::__construct | vendor/ |
since Symfony 7.2, to be removed in 8.0) sid_bits_per_character, "5" (@deprecated since Symfony 7.2, to be removed in 8.0) trans_sid_hosts, $_SERVER['HTTP_HOST'] (deprecated since Symfony 7.2, to be removed in Symfony 8.0) trans_sid_tags, "a=href,area=href,frame=src,form=" (deprecated since Symfony 7.2, to be removed in Symfony 8.0) |
function | 2 | 2 | ||
Node::getLine | vendor/ |
Use getStartLine() instead |
function | 1 | |||
NodeProviderCollection | vendor/ |
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 | ||||
NodeTestCase::getAttributeGetter | vendor/ |
since Twig 3.13, use createAttributeGetter() instead. |
function | ||||
NodeTestCase::getVariableGetter | vendor/ |
since Twig 3.13, use createVariableGetter() instead. |
function | ||||
NodeTraverser::DONT_TRAVERSE_CHILDREN | vendor/ |
Use NodeVisitor::DONT_TRAVERSE_CHILDREN instead. |
constant | 1 | |||
NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN | vendor/ |
Use NodeVisitor::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead. |
constant |