Deprecated - Drupal 11.1.x - Drupal Core
Primary tabs
Title | File name | Deprecation | Type | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
FileSystemInterface::EXISTS_REPLACE | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Replace instead. |
constant | ||||
FormElement | core/ |
in drupal:10.3.0 and is removed from drupal:12.0.0. use \Drupal\Core\Render\Element\FormElementBase instead. |
class | ||||
FulfilledPromise::always | vendor/ |
3.0.0 Use `finally()` instead |
function | ||||
FulfilledPromise::otherwise | vendor/ |
3.0.0 Use `catch()` instead |
function | ||||
FunctionDeclarationSniff | vendor/ |
in Coder 8.x, will be removed in Coder 9.x. MultiLineFunctionDeclarationSniff is used instead. |
class | ||||
Generator::generateClassFromWsdl | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5242 |
function | ||||
Generator::mockObjectForAbstractClass | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5241 |
function | 1 | |||
Generator::mockObjectForTrait | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5243 |
function | ||||
Generator::objectForTrait | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5244 |
function | ||||
Git::runCommand | vendor/ |
Use runCommands with placeholders instead of callbacks for simplicity |
function | 1 | |||
GitModified::getBlacklist | vendor/ |
3.9.0 Overload the `getDisallowedFiles()` method instead. |
function | ||||
GitModified::getWhitelist | vendor/ |
3.9.0 Overload the `getAllowedFiles()` method instead. |
function | ||||
GitStaged::getBlacklist | vendor/ |
3.9.0 Overload the `getDisallowedFiles()` method instead. |
function | ||||
GitStaged::getWhitelist | vendor/ |
3.9.0 Overload the `getAllowedFiles()` method instead. |
function | ||||
Header::normalize | vendor/ |
Use self::splitList() instead. |
function | ||||
headers_from_lines | vendor/ |
headers_from_lines will be removed in guzzlehttp/guzzle:8.0. Use Utils::headersFromLines instead. |
function | ||||
HttpClient | vendor/ |
since version 2.4, use Psr\Http\Client\ClientInterface instead; see https://www.php-fig.org/psr/psr-18/ |
interface | 1 | 4 | ||
HttpClientDiscovery | vendor/ |
This will be removed in 2.0. Consider using Psr18ClientDiscovery. |
class | ||||
IgnoreClassForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
IgnoreClassForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
IgnoreFunctionForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
IgnoreFunctionForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
IgnoreMethodForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
IgnoreMethodForCodeCoverage | vendor/ |
https://github.com/sebastianbergmann/phpunit/issues/5513 |
class | 1 | |||
image_filter_keyword | core/ |
in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Component\Utility\Image::getKeywordOffset() instead. |
function | ||||
Implements_::create | vendor/ |
Create using static factory is deprecated, this method should not be called directly by library consumers |
function | ||||
InputStream | vendor/ |
since 2.4, to remove in 3.0. Use a string in the scanner instead. |
interface | 2 | |||
InstalledVersions::getRawData | vendor/ |
Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. |
function | ||||
InstalledVersions::getRawData | vendor/ |
Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. |
function | ||||
Installer::setIgnorePlatformRequirements | vendor/ |
use setPlatformRequirementFilter instead |
function | ||||
Installer::setRunScripts | vendor/ |
Use setRunScripts(false) on the EventDispatcher instance being injected instead |
function | ||||
Instantiator::SERIALIZATION_FORMAT_USE_UNSERIALIZER | vendor/ |
This constant will be private in 2.0 |
constant | ||||
IntegrationTestCase::getFixturesDir | vendor/ |
since Twig 3.13, use getFixturesDirectory() instead. |
function | 1 | |||
is_host_in_noproxy | vendor/ |
is_host_in_noproxy will be removed in guzzlehttp/guzzle:8.0. Use Utils::isHostInNoProxy instead. |
function | ||||
JsonFile::JSON_PRETTY_PRINT | vendor/ |
Use \JSON_PRETTY_PRINT |
constant | ||||
JsonFile::JSON_UNESCAPED_SLASHES | vendor/ |
Use \JSON_UNESCAPED_SLASHES |
constant | ||||
JsonFile::JSON_UNESCAPED_UNICODE | vendor/ |
Use \JSON_UNESCAPED_UNICODE |
constant | ||||
JsonFormatter | vendor/ |
Use json_encode or JsonFile::encode() with modern JSON_* flags to configure formatting - this class will be removed in 3.0 |
class | ||||
json_decode | vendor/ |
json_decode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonDecode instead. |
function | 64 | |||
json_encode | vendor/ |
json_encode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonEncode instead. |
function | 76 | |||
Kernel::getAnnotatedClassesToCompile | vendor/ |
since Symfony 7.1, to be removed in 8.0 |
function | ||||
Kernel::setAnnotatedClassCache | vendor/ |
since Symfony 7.1, to be removed in 8.0 |
function | ||||
LazyUuidFromString::getClockSeqHiAndReserved | 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::getClockSeqLow | 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::getClockSequence | 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::getLeastSignificantBits | vendor/ |
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by { |
function | ||||
LazyUuidFromString::getMostSignificantBits | vendor/ |
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by { |
function | ||||
LazyUuidFromString::getNode | 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::getTimeHiAndVersion | 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::getTimeLow | vendor/ |
Use { { instance, you may call { and use the arbitrary-precision math library of your choice to convert it to a string integer. |
function |