Deprecated
Table of Contents
InstalledVersions.php
Line | Element | Reason |
---|---|---|
262 | 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. |
Instantiator.php
Line | Element | Reason |
---|---|---|
34 | Instantiator::SERIALIZATION_FORMAT_USE_UNSERIALIZER | This constant will be private in 2.0 |
Client.php
Line | Element | Reason |
---|---|---|
81 | Client::__call() | Client::__call will be removed in guzzlehttp/guzzle:8.0. |
205 | 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 |
---|---|---|
28 | CurlFactory::LOW_CURL_VERSION_NUMBER |
Utils.php
Line | Element | Reason |
---|---|---|
134 | Utils::defaultCaBundle() | Utils::defaultCaBundle will be removed in guzzlehttp/guzzle:8.0. This method is not needed in PHP 5.6+. |
Header.php
Line | Element | Reason |
---|---|---|
52 | Header::normalize() | Use self::splitList() instead. |
DateIntervalFilter.php
Line | Element | Reason |
---|---|---|
13 | DateIntervalFilter | Will be removed in 2.0. This filter will no longer be necessary in PHP 7.1+. |
SplDoublyLinkedList.php
Line | Element | Reason |
---|---|---|
8 | SplDoublyLinkedList | Use SplDoublyLinkedListFilter instead. |
Class_.php
Line | Element | Reason |
---|---|---|
10 | Class_::MODIFIER_PUBLIC | Use Modifiers::PUBLIC instead |
12 | Class_::MODIFIER_PROTECTED | Use Modifiers::PROTECTED instead |
14 | Class_::MODIFIER_PRIVATE | Use Modifiers::PRIVATE instead |
16 | Class_::MODIFIER_STATIC | Use Modifiers::STATIC instead |
18 | Class_::MODIFIER_ABSTRACT | Use Modifiers::ABSTRACT instead |
20 | Class_::MODIFIER_FINAL | Use Modifiers::FINAL instead |
22 | Class_::MODIFIER_READONLY | Use Modifiers::READONLY instead |
25 | Class_::VISIBILITY_MODIFIER_MASK | Use Modifiers::VISIBILITY_MASK instead |
Node.php
Line | Element | Reason |
---|---|---|
29 | Node::getLine() | Use getStartLine() instead |
NodeTraverser.php
Line | Element | Reason |
---|---|---|
9 | NodeTraverser::DONT_TRAVERSE_CHILDREN | Use NodeVisitor::DONT_TRAVERSE_CHILDREN instead. |
14 | NodeTraverser::STOP_TRAVERSAL | Use NodeVisitor::STOP_TRAVERSAL instead. |
19 | NodeTraverser::REMOVE_NODE | Use NodeVisitor::REMOVE_NODE instead. |
24 | NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN | Use NodeVisitor::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead. |
Functions.php
Line | Element | Reason |
---|---|---|
780 | assertNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4062 |
835 | assertNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4065 |
890 | assertDirectoryNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4068 |
945 | assertDirectoryNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4071 |
1000 | assertDirectoryNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4074 |
1055 | assertFileNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4077 |
1110 | assertFileNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4080 |
1165 | assertFileNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4083 |
2064 | assertRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4086 |
2102 | assertNotRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4089 |
2485 | assertEqualXMLStructure() | https://github.com/sebastianbergmann/phpunit/issues/4091 |
Assert.php
Line | Element | Reason |
---|---|---|
780 | Assert::assertNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4062 |
819 | Assert::assertNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4065 |
858 | Assert::assertDirectoryNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4068 |
899 | Assert::assertDirectoryNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4071 |
941 | Assert::assertDirectoryNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4074 |
981 | Assert::assertFileNotExists() | https://github.com/sebastianbergmann/phpunit/issues/4077 |
1022 | Assert::assertFileNotIsReadable() | https://github.com/sebastianbergmann/phpunit/issues/4080 |
1064 | Assert::assertFileNotIsWritable() | https://github.com/sebastianbergmann/phpunit/issues/4083 |
1192 | Assert::assertClassHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1216 | Assert::assertClassNotHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1246 | Assert::assertClassHasStaticAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1274 | Assert::assertClassNotHasStaticAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1306 | Assert::assertObjectHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1336 | Assert::assertObjectNotHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
1916 | Assert::assertRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4086 |
1950 | Assert::assertNotRegExp() | https://github.com/sebastianbergmann/phpunit/issues/4089 |
2359 | Assert::assertEqualXMLStructure() | https://github.com/sebastianbergmann/phpunit/issues/4091 |
2762 | Assert::classHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
2772 | Assert::classHasStaticAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
2782 | Assert::objectHasAttribute() | https://github.com/sebastianbergmann/phpunit/issues/4601 |
ClassHasAttribute.php
Line | Element | Reason |
---|---|---|
24 | ClassHasAttribute | https://github.com/sebastianbergmann/phpunit/issues/4601 |
ClassHasStaticAttribute.php
Line | Element | Reason |
---|---|---|
22 | ClassHasStaticAttribute | https://github.com/sebastianbergmann/phpunit/issues/4601 |
ObjectHasAttribute.php
Line | Element | Reason |
---|---|---|
19 | ObjectHasAttribute | https://github.com/sebastianbergmann/phpunit/issues/4601 |
InvocationMocker.php
Line | Element | Reason |
---|---|---|
201 | InvocationMocker::withConsecutive() |
MockBuilder.php
Line | Element | Reason |
---|---|---|
212 | MockBuilder::setMethods() | https://github.com/sebastianbergmann/phpunit/pull/3687 |
313 | MockBuilder::setMethodsExcept() | https://github.com/sebastianbergmann/phpunit/pull/3687 |
TestCase.php
Line | Element | Reason |
---|---|---|
430 | TestCase::at() | https://github.com/sebastianbergmann/phpunit/issues/4297 |
671 | TestCase::expectDeprecation() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
681 | TestCase::expectDeprecationMessage() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
691 | TestCase::expectDeprecationMessageMatches() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
701 | TestCase::expectNotice() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
711 | TestCase::expectNoticeMessage() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
721 | TestCase::expectNoticeMessageMatches() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
731 | TestCase::expectWarning() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
741 | TestCase::expectWarningMessage() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
751 | TestCase::expectWarningMessageMatches() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
761 | TestCase::expectError() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
771 | TestCase::expectErrorMessage() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
781 | TestCase::expectErrorMessageMatches() | https://github.com/sebastianbergmann/phpunit/issues/5062 |
1900 | TestCase::getMockClass() | |
2049 | TestCase::prophesize() | https://github.com/sebastianbergmann/phpunit/issues/4141 |
146 | TestCase::$backupGlobalsBlacklist | Use $backupGlobalsExcludeList instead |
163 | TestCase::$backupStaticAttributesBlacklist | Use $backupStaticAttributesExcludeList instead |
TestListener.php
Line | Element | Reason |
---|---|---|
24 | TestListener |
TestListenerDefaultImplementation.php
Line | Element | Reason |
---|---|---|
19 | TestListenerDefaultImplementation | The |
TestSuiteLoader.php
Line | Element | Reason |
---|---|---|
19 | TestSuiteLoader | see https://github.com/sebastianbergmann/phpunit/issues/4039 |
Command.php
Line | Element | Reason |
---|---|---|
427 | Command::handleLoader() | see https://github.com/sebastianbergmann/phpunit/issues/4039 |
Blacklist.php
Line | Element | Reason |
---|---|---|
17 | Blacklist | Use ExcludeList 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 |
---|---|---|
155 | Promise::otherwise() | Use |
164 | 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 |
Requests.php
Line | Element | Reason |
---|---|---|
47 | Requests | Use |
58 | Requests::autoloader() | Use the |
74 | Requests::register_autoloader() | Include the |
DoubleComparator.php
Line | Element | Reason |
---|---|---|
20 | DoubleComparator | since v3.0.5 and v4.0.8 |
Application.php
Line | Element | Reason |
---|---|---|
803 | Application::renderException() | since Symfony 4.4, use "renderThrowable()" instead |
846 | Application::doRenderException() | since Symfony 4.4, use "doRenderThrowable()" instead |
TableStyle.php
Line | Element | Reason |
---|---|---|
113 | TableStyle::setHorizontalBorderChar() | |
127 | TableStyle::getHorizontalBorderChar() | |
169 | TableStyle::setVerticalBorderChar() | |
183 | TableStyle::getVerticalBorderChar() | |
271 | TableStyle::setCrossingChar() |
TraceableEventDispatcher.php
Line | Element | Reason |
---|---|---|
315 | TraceableEventDispatcher::preDispatch() | since Symfony 4.3, will be removed in 5.0, use beforeDispatch instead |
322 | TraceableEventDispatcher::postDispatch() | since Symfony 4.3, will be removed in 5.0, use afterDispatch instead |
TraceableEventDispatcherInterface.php
Line | Element | Reason |
---|---|---|
23 | TraceableEventDispatcherInterface | since Symfony 4.1 |
Event.php
Line | Element | Reason |
---|---|---|
17 | Event | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
26 | Event::isPropagationStopped() | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
34 | Event::stopPropagation() | since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead |
EventDispatcher.php
Line | Element | Reason |
---|---|---|
258 | EventDispatcher::doDispatch() | since Symfony 4.3, use callListeners() instead |
PhpProcess.php
Line | Element | Reason |
---|---|---|
66 | PhpProcess::setPhpBinary() | since Symfony 4.2, use the $php argument of the constructor instead. |
Process.php
Line | Element | Reason |
---|---|---|
1001 | Process::setCommandLine() | since Symfony 4.2. |
1224 | Process::inheritEnvironmentVariables() | since Symfony 4.4, env variables are always inherited |
ServiceLocatorTest.php
Line | Element | Reason |
---|---|---|
20 | ServiceLocatorTest | since PHPUnit 9.6 |