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
TestCase::onConsecutiveCalls vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturn()</code> instead of <code>$double->will($this->onConsecutiveCalls())</code>

function
TestCase::returnArgument vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturnArgument()</code> instead of <code>$double->will($this->returnArgument())</code>

function
TestCase::returnCallback vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>

function
TestCase::returnSelf vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturnSelf()</code> instead of <code>$double->will($this->returnSelf())</code>

function
TestCase::returnValue vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturn()</code> instead of <code>$double->will($this->returnValue())</code>

function
TestCase::returnValueMap vendor/phpunit/phpunit/src/Framework/TestCase.php

Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>

function
TestCase::setLocale vendor/phpunit/phpunit/src/Framework/TestCase.php

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

function
ThemeExtensionList::getBaseThemes core/lib/Drupal/Core/Extension/ThemeExtensionList.php

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

function
ThemeHandlerInterface::getBaseThemes core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php

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

function 1
ThemeHandlerInterface::rebuildThemeData core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php

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/composer/composer/src/Composer/Util/TlsHelper.php

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/doctrine/lexer/src/Token.php

Use the value, type or position property instead

function
Token::offsetGet vendor/doctrine/lexer/src/Token.php

Use the value, type or position property instead

function
Token::offsetSet vendor/doctrine/lexer/src/Token.php

no replacement planned

function
Token::offsetUnset vendor/doctrine/lexer/src/Token.php

no replacement planned

function
TraceAttributes::CONTAINER_CPU_STATE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `cpu.mode`.

constant
TraceAttributes::DB_CASSANDRA_TABLE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.collection.name`.

constant
TraceAttributes::DB_CLIENT_CONNECTIONS_POOL_NAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.client.connection.pool.name`.

constant
TraceAttributes::DB_CLIENT_CONNECTIONS_STATE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.client.connection.state`.

constant
TraceAttributes::DB_CONNECTION_STRING vendor/open-telemetry/sem-conv/TraceAttributes.php

"Replaced by `server.address` and `server.port`.".

constant
TraceAttributes::DB_COSMOSDB_CONTAINER vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.collection.name`.

constant
TraceAttributes::DB_ELASTICSEARCH_CLUSTER_NAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.namespace`.

constant
TraceAttributes::DB_INSTANCE_ID vendor/open-telemetry/sem-conv/TraceAttributes.php

Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead.

constant
TraceAttributes::DB_JDBC_DRIVER_CLASSNAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Removed as not used.

constant
TraceAttributes::DB_MONGODB_COLLECTION vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.collection.name`.

constant
TraceAttributes::DB_MSSQL_INSTANCE_NAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Deprecated, no replacement at this time.

constant
TraceAttributes::DB_NAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.namespace`.

constant
TraceAttributes::DB_OPERATION vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.operation.name`.

constant
TraceAttributes::DB_REDIS_DATABASE_INDEX vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.namespace`.

constant
TraceAttributes::DB_SQL_TABLE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.collection.name`.

constant
TraceAttributes::DB_STATEMENT vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `db.query.text`.

constant
TraceAttributes::DB_USER vendor/open-telemetry/sem-conv/TraceAttributes.php

No replacement at this time.

constant
TraceAttributes::DEPLOYMENT_ENVIRONMENT vendor/open-telemetry/sem-conv/TraceAttributes.php

Deprecated, use `deployment.environment.name` instead.

constant
TraceAttributes::ENDUSER_ID vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `user.id` attribute.

constant
TraceAttributes::ENDUSER_ROLE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `user.roles` attribute.

constant
TraceAttributes::ENDUSER_SCOPE vendor/open-telemetry/sem-conv/TraceAttributes.php

Removed.

constant
TraceAttributes::GEN_AI_USAGE_COMPLETION_TOKENS vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `gen_ai.usage.output_tokens` attribute.

constant
TraceAttributes::GEN_AI_USAGE_PROMPT_TOKENS vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `gen_ai.usage.input_tokens` attribute.

constant
TraceAttributes::HTTP_CLIENT_IP vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `client.address`.

constant
TraceAttributes::HTTP_FLAVOR vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `network.protocol.name`.

constant
TraceAttributes::HTTP_HOST vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage.

constant
TraceAttributes::HTTP_METHOD vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `http.request.method`.

constant
TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `http.request.header.content-length`.

constant
TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `http.request.body.size`.

constant
TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `http.response.header.content-length`.

constant
TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED vendor/open-telemetry/sem-conv/TraceAttributes.php

Replace by `http.response.body.size`.

constant
TraceAttributes::HTTP_SCHEME vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `url.scheme` instead.

constant
TraceAttributes::HTTP_SERVER_NAME vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `server.address`.

constant
TraceAttributes::HTTP_STATUS_CODE vendor/open-telemetry/sem-conv/TraceAttributes.php

Replaced by `http.response.status_code`.

constant
TraceAttributes::HTTP_TARGET vendor/open-telemetry/sem-conv/TraceAttributes.php

Split to `url.path` and `url.query.

constant

Pagination

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