Deprecated - Drupal 11.1.x - Drupal Core
Primary tabs
Title | File name | Deprecation | Type | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
TestCase::onConsecutiveCalls | vendor/ |
Use <code>$double->willReturn()</code> instead of <code>$double->will($this->onConsecutiveCalls())</code> |
function | ||||
TestCase::returnArgument | vendor/ |
Use <code>$double->willReturnArgument()</code> instead of <code>$double->will($this->returnArgument())</code> |
function | ||||
TestCase::returnCallback | vendor/ |
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code> |
function | ||||
TestCase::returnSelf | vendor/ |
Use <code>$double->willReturnSelf()</code> instead of <code>$double->will($this->returnSelf())</code> |
function | ||||
TestCase::returnValue | vendor/ |
Use <code>$double->willReturn()</code> instead of <code>$double->will($this->returnValue())</code> |
function | ||||
TestCase::returnValueMap | vendor/ |
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code> |
function | ||||
TestCase::setLocale | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5216 |
function | ||||
ThemeExtensionList::getBaseThemes | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. There is no direct replacement. |
function | ||||
ThemeHandlerInterface::getBaseThemes | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. There is no direct replacement. |
function | 1 | |||
ThemeHandlerInterface::rebuildThemeData | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.theme')->reset()->getList() instead. |
function | 1 | |||
TlsHelper | vendor/ |
Use composer/ca-bundle and composer/composer 2.2 if you still need PHP 5 compatibility, this class will be removed in Composer 3.0 |
class | ||||
Token::offsetExists | vendor/ |
Use the value, type or position property instead |
function | ||||
Token::offsetGet | vendor/ |
Use the value, type or position property instead |
function | ||||
Token::offsetSet | vendor/ |
no replacement planned |
function | ||||
Token::offsetUnset | vendor/ |
no replacement planned |
function | ||||
TraceAttributes::CONTAINER_CPU_STATE | vendor/ |
Replaced by `cpu.mode`. |
constant | ||||
TraceAttributes::DB_CASSANDRA_TABLE | vendor/ |
Replaced by `db.collection.name`. |
constant | ||||
TraceAttributes::DB_CLIENT_CONNECTIONS_POOL_NAME | vendor/ |
Replaced by `db.client.connection.pool.name`. |
constant | ||||
TraceAttributes::DB_CLIENT_CONNECTIONS_STATE | vendor/ |
Replaced by `db.client.connection.state`. |
constant | ||||
TraceAttributes::DB_CONNECTION_STRING | vendor/ |
"Replaced by `server.address` and `server.port`.". |
constant | ||||
TraceAttributes::DB_COSMOSDB_CONTAINER | vendor/ |
Replaced by `db.collection.name`. |
constant | ||||
TraceAttributes::DB_ELASTICSEARCH_CLUSTER_NAME | vendor/ |
Replaced by `db.namespace`. |
constant | ||||
TraceAttributes::DB_INSTANCE_ID | vendor/ |
Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. |
constant | ||||
TraceAttributes::DB_JDBC_DRIVER_CLASSNAME | vendor/ |
Removed as not used. |
constant | ||||
TraceAttributes::DB_MONGODB_COLLECTION | vendor/ |
Replaced by `db.collection.name`. |
constant | ||||
TraceAttributes::DB_MSSQL_INSTANCE_NAME | vendor/ |
Deprecated, no replacement at this time. |
constant | ||||
TraceAttributes::DB_NAME | vendor/ |
Replaced by `db.namespace`. |
constant | ||||
TraceAttributes::DB_OPERATION | vendor/ |
Replaced by `db.operation.name`. |
constant | ||||
TraceAttributes::DB_REDIS_DATABASE_INDEX | vendor/ |
Replaced by `db.namespace`. |
constant | ||||
TraceAttributes::DB_SQL_TABLE | vendor/ |
Replaced by `db.collection.name`. |
constant | ||||
TraceAttributes::DB_STATEMENT | vendor/ |
Replaced by `db.query.text`. |
constant | ||||
TraceAttributes::DB_USER | vendor/ |
No replacement at this time. |
constant | ||||
TraceAttributes::DEPLOYMENT_ENVIRONMENT | vendor/ |
Deprecated, use `deployment.environment.name` instead. |
constant | ||||
TraceAttributes::ENDUSER_ID | vendor/ |
Replaced by `user.id` attribute. |
constant | ||||
TraceAttributes::ENDUSER_ROLE | vendor/ |
Replaced by `user.roles` attribute. |
constant | ||||
TraceAttributes::ENDUSER_SCOPE | vendor/ |
Removed. |
constant | ||||
TraceAttributes::GEN_AI_USAGE_COMPLETION_TOKENS | vendor/ |
Replaced by `gen_ai.usage.output_tokens` attribute. |
constant | ||||
TraceAttributes::GEN_AI_USAGE_PROMPT_TOKENS | vendor/ |
Replaced by `gen_ai.usage.input_tokens` attribute. |
constant | ||||
TraceAttributes::HTTP_CLIENT_IP | vendor/ |
Replaced by `client.address`. |
constant | ||||
TraceAttributes::HTTP_FLAVOR | vendor/ |
Replaced by `network.protocol.name`. |
constant | ||||
TraceAttributes::HTTP_HOST | vendor/ |
Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. |
constant | ||||
TraceAttributes::HTTP_METHOD | vendor/ |
Replaced by `http.request.method`. |
constant | ||||
TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH | vendor/ |
Replaced by `http.request.header.content-length`. |
constant | ||||
TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED | vendor/ |
Replaced by `http.request.body.size`. |
constant | ||||
TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH | vendor/ |
Replaced by `http.response.header.content-length`. |
constant | ||||
TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED | vendor/ |
Replace by `http.response.body.size`. |
constant | ||||
TraceAttributes::HTTP_SCHEME | vendor/ |
Replaced by `url.scheme` instead. |
constant | ||||
TraceAttributes::HTTP_SERVER_NAME | vendor/ |
Replaced by `server.address`. |
constant | ||||
TraceAttributes::HTTP_STATUS_CODE | vendor/ |
Replaced by `http.response.status_code`. |
constant | ||||
TraceAttributes::HTTP_TARGET | vendor/ |
Split to `url.path` and `url.query. |
constant |