Deprecated
Table of Contents
Join.php
| Line | Element | Reason |
|---|---|---|
| 250 | Join::join() | Please use the Join->link() method rather than this method now. |
Upload.php
| Line | Element | Reason |
|---|---|---|
| 188 | Upload::allowedExtensions() | Use Validate::fileExtensions |
Editor.php
| Line | Element | Reason |
|---|---|---|
| 561 | Editor::leftJoinRemove() | |
| 959 | Editor::whereSet() | Note that |
InstalledVersions.php
| Line | Element | Reason |
|---|---|---|
| 273 | InstalledVersions::getRawData() | 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. |
VersionParser.php
| Line | Element | Reason |
|---|---|---|
| 242 | VersionParser::normalizeDefaultBranch() | No need to use this anymore in theory, Composer 2 does not normalize any branch names to 9999999-dev anymore |
ConfigInterface.php
| Line | Element | Reason |
|---|---|---|
| 84 | ConfigInterface::getPhpExecutable() | |
| 165 | ConfigInterface::setPhpExecutable() |
Annotation.php
| Line | Element | Reason |
|---|---|---|
| 132 | Annotation::getTagsWithTypes() | Use |
TagComparator.php
| Line | Element | Reason |
|---|---|---|
| 28 | TagComparator |
NoTrailingCommaInSinglelineArrayFixer.php
| Line | Element | Reason |
|---|---|---|
| 32 | NoTrailingCommaInSinglelineArrayFixer |
BracesFixer.php
| Line | Element | Reason |
|---|---|---|
| 61 | BracesFixer |
CurlyBracesPositionFixer.php
| Line | Element | Reason |
|---|---|---|
| 53 | CurlyBracesPositionFixer |
NativeFunctionTypeDeclarationCasingFixer.php
| Line | Element | Reason |
|---|---|---|
| 28 | NativeFunctionTypeDeclarationCasingFixer | in favour of NativeTypeDeclarationCasingFixer |
VisibilityRequiredFixer.php
| Line | Element | Reason |
|---|---|---|
| 41 | VisibilityRequiredFixer |
NoTrailingCommaInListCallFixer.php
| Line | Element | Reason |
|---|---|---|
| 31 | NoTrailingCommaInListCallFixer |
NoUnneededCurlyBracesFixer.php
| Line | Element | Reason |
|---|---|---|
| 41 | NoUnneededCurlyBracesFixer |
FunctionTypehintSpaceFixer.php
| Line | Element | Reason |
|---|---|---|
| 32 | FunctionTypehintSpaceFixer |
NoTrailingCommaInSinglelineFunctionCallFixer.php
| Line | Element | Reason |
|---|---|---|
| 29 | NoTrailingCommaInSinglelineFunctionCallFixer |
ClassKeywordRemoveFixer.php
| Line | Element | Reason |
|---|---|---|
| 34 | ClassKeywordRemoveFixer |
SingleSpaceAfterConstructFixer.php
| Line | Element | Reason |
|---|---|---|
| 46 | SingleSpaceAfterConstructFixer |
NoBlankLinesBeforeNamespaceFixer.php
| Line | Element | Reason |
|---|---|---|
| 32 | NoBlankLinesBeforeNamespaceFixer | Use |
SingleBlankLineBeforeNamespaceFixer.php
| Line | Element | Reason |
|---|---|---|
| 32 | SingleBlankLineBeforeNamespaceFixer | Use |
NewWithBracesFixer.php
| Line | Element | Reason |
|---|---|---|
| 43 | NewWithBracesFixer |
PhpdocTypesNoDuplicatesFixer.php
| Line | Element | Reason |
|---|---|---|
| 28 | PhpdocTypesNoDuplicatesFixer | in favour of PhpdocNoDuplicateTypesFixer |
EscapeImplicitBackslashesFixer.php
| Line | Element | Reason |
|---|---|---|
| 49 | EscapeImplicitBackslashesFixer | Use |
CompactNullableTypehintFixer.php
| Line | Element | Reason |
|---|---|---|
| 29 | CompactNullableTypehintFixer |
NoSpacesInsideParenthesisFixer.php
| Line | Element | Reason |
|---|---|---|
| 34 | NoSpacesInsideParenthesisFixer | in favour of SpacesInsideParenthesisFixer |
CT.php
| Line | Element | Reason |
|---|---|---|
| 25 | CT::T_ARRAY_INDEX_CURLY_BRACE_CLOSE | use T_ARRAY_INDEX_BRACE_CLOSE instead |
| 29 | CT::T_ARRAY_INDEX_CURLY_BRACE_OPEN | use T_ARRAY_INDEX_BRACE_OPEN instead |
| 33 | CT::T_ARRAY_SQUARE_BRACE_CLOSE | use T_ARRAY_BRACKET_CLOSE instead |
| 37 | CT::T_ARRAY_SQUARE_BRACE_OPEN | use T_ARRAY_BRACKET_OPEN instead |
| 43 | CT::T_BRACE_CLASS_INSTANTIATION_CLOSE | use T_CLASS_INSTANTIATION_PARENTHESIS_CLOSE instead |
| 47 | CT::T_BRACE_CLASS_INSTANTIATION_OPEN | use T_CLASS_INSTANTIATION_PARENTHESIS_OPEN instead |
| 57 | CT::T_DESTRUCTURING_SQUARE_BRACE_CLOSE | use T_DESTRUCTURING_BRACKET_CLOSE instead |
| 61 | CT::T_DESTRUCTURING_SQUARE_BRACE_OPEN | use T_DESTRUCTURING_BRACKET_OPEN instead |
| 115 | CT::T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_OPEN | use T_DYNAMIC_CLASS_CONSTANT_FETCH_BRACE_OPEN instead |
| 119 | CT::T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_CLOSE | use T_DYNAMIC_CLASS_CONSTANT_FETCH_BRACE_CLOSE instead |
Token.php
| Line | Element | Reason |
|---|---|---|
| 210 | Token::isKeyCaseSensitive() |
Tokens.php
| Line | Element | Reason |
|---|---|---|
| 57 | Tokens::BLOCK_TYPE_PARENTHESIS_BRACE | use BLOCK_TYPE_PARENTHESIS instead |
| 61 | Tokens::BLOCK_TYPE_CURLY_BRACE | use BLOCK_TYPE_BRACE instead |
| 65 | Tokens::BLOCK_TYPE_INDEX_SQUARE_BRACE | use BLOCK_TYPE_INDEX_BRACKET instead |
| 69 | Tokens::BLOCK_TYPE_ARRAY_SQUARE_BRACE | use BLOCK_TYPE_ARRAY_BRACKET instead |
| 77 | Tokens::BLOCK_TYPE_ARRAY_INDEX_CURLY_BRACE | use BLOCK_TYPE_INDEX_BRACE instead |
| 83 | Tokens::BLOCK_TYPE_DESTRUCTURING_SQUARE_BRACE | use BLOCK_TYPE_DESTRUCTURING_BRACKET instead |
| 87 | Tokens::BLOCK_TYPE_BRACE_CLASS_INSTANTIATION | use BLOCK_TYPE_CLASS_INSTANTIATION_PARENTHESIS instead |
| 95 | Tokens::BLOCK_TYPE_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE | use BLOCK_TYPE_DYNAMIC_CLASS_CONSTANT_FETCH_BRACE instead |
Message.php
| Line | Element | Reason |
|---|---|---|
| 45 | Message::TYPE_SPF | https://datatracker.ietf.org/doc/html/rfc7208#section-3.1 |
ExtLibeventLoop.php
| Line | Element | Reason |
|---|---|---|
| 38 | ExtLibeventLoop | use |
ExtLibevLoop.php
| Line | Element | Reason |
|---|---|---|
| 29 | ExtLibevLoop | use |
Factory.php
| Line | Element | Reason |
|---|---|---|
| 11 | Factory | See Loop instead. |
| 34 | Factory::create() | See Loop::get() instead. |
Promise.php
| Line | Element | Reason |
|---|---|---|
| 156 | Promise::otherwise() | Use |
| 165 | Promise::always() | Use |
PromiseInterface.php
| Line | Element | Reason |
|---|---|---|
| 134 | PromiseInterface::otherwise() | Use catch() instead |
| 151 | PromiseInterface::always() | Use finally() instead |
Server.php
| Line | Element | Reason |
|---|---|---|
| 14 | Server | See |
| 52 | Server::__construct() | See |
Application.php
| Line | Element | Reason |
|---|---|---|
| 556 | Application::add() | since Symfony 7.4, use Application::addCommand() instead |
Command.php
| Line | Element | Reason |
|---|---|---|
| 60 | Command::getDefaultName() | since Symfony 7.3, use the #[AsCommand] attribute instead |
| 74 | Command::getDefaultDescription() | since Symfony 7.3, use the #[AsCommand] attribute instead |
Normalizer.php
| Line | Element | Reason |
|---|---|---|
| 8 | Normalizer::NONE | since ICU 56 and removed in PHP 8 |
ContainerAwareInterface.php
| Line | Element | Reason |
|---|---|---|
| 17 | ContainerAwareInterface | use ContainerProviderInterface instead |
ServiceSubscriberTrait.php
| Line | Element | Reason |
|---|---|---|
| 33 | ServiceSubscriberTrait | since symfony/contracts v3.5, use ServiceMethodsSubscriberTrait instead |
ServiceLocatorTest.php
| Line | Element | Reason |
|---|---|---|
| 17 | ServiceLocatorTest | since PHPUnit 9.6 |
AbstractString.php
| Line | Element | Reason |
|---|---|---|
| 734 | AbstractString::__sleep() | since Symfony 7.4, will be replaced by |
LazyString.php
| Line | Element | Reason |
|---|---|---|
| 131 | LazyString::__sleep() | since Symfony 7.4, will be replaced by |
UnicodeString.php
| Line | Element | Reason |
|---|---|---|
| 457 | UnicodeString::__wakeup() | since Symfony 7.4, will be replaced by |