Deprecated
Table of Contents
SimpleImage.php
Line | Element | Reason |
---|---|---|
707 | SimpleImage::fitToHeight() | This method was deprecated in version 3.2.2 and will be removed in version 4.0.
Please use |
720 | SimpleImage::fitToWidth() | This method was deprecated in version 3.2.2 and will be removed in version 4.0.
Please use |
AnnotationRegistry.php
Line | Element | Reason |
---|---|---|
65 | AnnotationRegistry::registerFile() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
82 | AnnotationRegistry::registerAutoloadNamespace() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
97 | AnnotationRegistry::registerAutoloadNamespaces() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
111 | AnnotationRegistry::registerLoader() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
124 | AnnotationRegistry::registerUniqueLoader() | This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0. |
CachedReader.php
Line | Element | Reason |
---|---|---|
24 | CachedReader | the CachedReader is deprecated and will be removed in version 2.0.0 of doctrine/annotations. Please use the PsrCachedReader instead. |
FileCacheReader.php
Line | Element | Reason |
---|---|---|
38 | FileCacheReader | the FileCacheReader is deprecated and will be removed in version 2.0.0 of doctrine/annotations. Please use the PsrCachedReader instead. |
NamedArgumentConstructorAnnotation.php
Line | Element | Reason |
---|---|---|
12 | NamedArgumentConstructorAnnotation | Implementing this interface is deprecated Use the Annotation @NamedArgumentConstructor instead |
PhpParser.php
Line | Element | Reason |
---|---|---|
28 | PhpParser::parseClass() | use parseUseStatements instead |
SimpleAnnotationReader.php
Line | Element | Reason |
---|---|---|
17 | SimpleAnnotationReader | Deprecated in favour of using AnnotationReader |
Client.php
Line | Element | Reason |
---|---|---|
81 | Client::__call() | Client::__call will be removed in guzzlehttp/guzzle:8.0. |
203 | Client::getConfig() | Client::getConfig will be removed in guzzlehttp/guzzle:8.0. |
ClientInterface.php
Line | Element | Reason |
---|---|---|
83 | ClientInterface::getConfig() | ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0. |
functions.php
Line | Element | Reason |
---|---|---|
16 | describe_type() | describe_type will be removed in guzzlehttp/guzzle:8.0. Use Utils::describeType instead. |
29 | headers_from_lines() | headers_from_lines will be removed in guzzlehttp/guzzle:8.0. Use Utils::headersFromLines instead. |
43 | debug_resource() | debug_resource will be removed in guzzlehttp/guzzle:8.0. Use Utils::debugResource instead. |
59 | choose_handler() | choose_handler will be removed in guzzlehttp/guzzle:8.0. Use Utils::chooseHandler instead. |
69 | default_user_agent() | default_user_agent will be removed in guzzlehttp/guzzle:8.0. Use Utils::defaultUserAgent instead. |
89 | default_ca_bundle() | default_ca_bundle will be removed in guzzlehttp/guzzle:8.0. This function is not needed in PHP 5.6+. |
100 | normalize_header_keys() | normalize_header_keys will be removed in guzzlehttp/guzzle:8.0. Use Utils::normalizeHeaderKeys instead. |
126 | is_host_in_noproxy() | is_host_in_noproxy will be removed in guzzlehttp/guzzle:8.0. Use Utils::isHostInNoProxy instead. |
147 | json_decode() | json_decode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonDecode instead. |
164 | json_encode() | json_encode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonEncode instead. |
CurlFactory.php
Line | Element | Reason |
---|---|---|
27 | CurlFactory::LOW_CURL_VERSION_NUMBER |
Utils.php
Line | Element | Reason |
---|---|---|
131 | Utils::defaultCaBundle() | Utils::defaultCaBundle will be removed in guzzlehttp/guzzle:8.0. This method is not needed in PHP 5.6+. |
functions.php
Line | Element | Reason |
---|---|---|
24 | queue() | queue will be removed in guzzlehttp/promises:2.0. Use Utils::queue instead. |
39 | task() | task will be removed in guzzlehttp/promises:2.0. Use Utils::task instead. |
53 | promise_for() | promise_for will be removed in guzzlehttp/promises:2.0. Use Create::promiseFor instead. |
68 | rejection_for() | rejection_for will be removed in guzzlehttp/promises:2.0. Use Create::rejectionFor instead. |
82 | exception_for() | exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead. |
96 | iter_for() | iter_for will be removed in guzzlehttp/promises:2.0. Use Create::iterFor instead. |
117 | inspect() | inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspect instead. |
136 | inspect_all() | inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspectAll instead. |
157 | unwrap() | unwrap will be removed in guzzlehttp/promises:2.0. Use Utils::unwrap instead. |
177 | all() | all will be removed in guzzlehttp/promises:2.0. Use Utils::all instead. |
200 | some() | some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead. |
215 | any() | any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead. |
234 | settle() | settle will be removed in guzzlehttp/promises:2.0. Use Utils::settle instead. |
260 | each() | each will be removed in guzzlehttp/promises:2.0. Use Each::of instead. |
285 | each_limit() | each_limit will be removed in guzzlehttp/promises:2.0. Use Each::ofLimit instead. |
307 | each_limit_all() | each_limit_all will be removed in guzzlehttp/promises:2.0. Use Each::ofLimitAll instead. |
322 | is_fulfilled() | is_fulfilled will be removed in guzzlehttp/promises:2.0. Use Is::fulfilled instead. |
334 | is_rejected() | is_rejected will be removed in guzzlehttp/promises:2.0. Use Is::rejected instead. |
346 | is_settled() | is_settled will be removed in guzzlehttp/promises:2.0. Use Is::settled instead. |
360 | coroutine() | coroutine will be removed in guzzlehttp/promises:2.0. Use Coroutine::of instead. |
Header.php
Line | Element | Reason |
---|---|---|
52 | Header::normalize() | Use self::splitList() instead. |
Version.php
Line | Element | Reason |
---|---|---|
51 | Version::getVersionWithShortCommit() | |
74 | Version::getCommitHash() | |
87 | Version::getShortCommitHash() |
ZipStream.php
Line | Element | Reason |
---|---|---|
77 | ZipStream::VERSION | deprecated since version 0.3.0, use composer version |
ChangeStream.php
Line | Element | Reason |
---|---|---|
45 | ChangeStream::CURSOR_NOT_FOUND |
Collection.php
Line | Element | Reason |
---|---|---|
286 | Collection::count() |
UnsupportedException.php
Line | Element | Reason |
---|---|---|
40 | UnsupportedException::arrayFiltersNotSupported() | |
53 | UnsupportedException::collationNotSupported() |
CollectionInfo.php
Line | Element | Reason |
---|---|---|
68 | CollectionInfo::getCappedMax() | Deprecated in favor of using getOptions |
81 | CollectionInfo::getCappedSize() | Deprecated in favor of using getOptions |
148 | CollectionInfo::isCapped() | Deprecated in favor of using getOptions |
PHPMailer.php
Line | Element | Reason |
---|---|---|
450 | PHPMailer::$SingleTo | PHPMailer isn't a mailing list manager! |
Helper.php
Line | Element | Reason |
---|---|---|
49 | Helper::strlen() | since Symfony 5.3 |
159 | Helper::strlenWithoutDecoration() | since Symfony 5.3 |
HelperSet.php
Line | Element | Reason |
---|---|---|
79 | HelperSet::setCommand() | since Symfony 5.4 |
93 | HelperSet::getCommand() | since Symfony 5.4 |
Normalizer.php
Line | Element | Reason |
---|---|---|
8 | Normalizer::NONE | since ICU 56 and removed in PHP 8 |
Error.php
Line | Element | Reason |
---|---|---|
337 | Error::toSerializableArray() | Use FormattedError::createFromException() instead |
FormattedError.php
Line | Element | Reason |
---|---|---|
387 | FormattedError::create() | as of v0.8.0 |
410 | FormattedError::createFromPHPError() | as of v0.10.0, use general purpose method createFromException() instead |
Values.php
Line | Element | Reason |
---|---|---|
306 | Values::valueFromAST() | as of 8.0 (Moved to \GraphQL\Utils\AST::valueFromAST) |
321 | Values::isValidPHPValue() | as of 0.12 (Use coerceValue() directly for richer information) |
GraphQL.php
Line | Element | Reason |
---|---|---|
190 | GraphQL::execute() | Use executeQuery()->toArray() instead |
237 | GraphQL::executeAndReturnResult() | renamed to executeQuery() |
361 | GraphQL::getInternalDirectives() | Renamed to getStandardDirectives |
Type.php
Line | Element | Reason |
---|---|---|
184 | Type::getInternalTypes() | Use method getStandardTypes() instead |
AST.php
Line | Element | Reason |
---|---|---|
597 | AST::getOperation() | use getOperationAST instead. Returns operation type ("query", "mutation" or "subscription") given a document and operation name |
BreakingChangesFinder.php
Line | Element | Reason |
---|---|---|
57 | BreakingChangesFinder::BREAKING_CHANGE_INTERFACE_REMOVED_FROM_OBJECT | use BREAKING_CHANGE_IMPLEMENTED_INTERFACE_REMOVED instead, will be removed in v15.0.0. |
59 | BreakingChangesFinder::DANGEROUS_CHANGE_INTERFACE_ADDED_TO_OBJECT | use DANGEROUS_CHANGE_IMPLEMENTED_INTERFACE_ADDED instead, will be removed in v15.0.0. |
TypeInfo.php
Line | Element | Reason |
---|---|---|
111 | TypeInfo::isEqualType() | moved to GraphQL\Utils\TypeComparators |
121 | TypeInfo::isTypeSubTypeOf() | moved to GraphQL\Utils\TypeComparators |
131 | TypeInfo::doTypesOverlap() | moved to GraphQL\Utils\TypeComparators |
DocumentValidator.php
Line | Element | Reason |
---|---|---|
297 | DocumentValidator::isValidLiteralValue() |
Analyser.php
Line | Element | Reason |
---|---|---|
52 | Analyser::$whitelist | use \OpenApi\Generator::setNamespaces() instead |
59 | Analyser::$defaultImports | use \OpenApi\Generator::setAliases() instead |
Analysis.php
Line | Element | Reason |
---|---|---|
484 | Analysis::registerProcessor() | Superseded by |
496 | Analysis::unregisterProcessor() | Superseded by |
Context.php
Line | Element | Reason |
---|---|---|
264 | Context::detect() |
Logger.php
Line | Element | Reason |
---|---|---|
16 | Logger | use \OpenApi\Generator and PSR logger instead |
InheritProperties.php
Line | Element | Reason |
---|---|---|
23 | InheritProperties |
InheritTraits.php
Line | Element | Reason |
---|---|---|
18 | InheritTraits |
MergeTraits.php
Line | Element | Reason |
---|---|---|
17 | MergeTraits |