shipcloud PHP Client

Deprecated

Table of Contents

src/ApiClient.php
vendor/composer/InstalledVersions.php
vendor/monolog/monolog/src/Monolog/Handler/SlackbotHandler.php
vendor/monolog/monolog/src/Monolog/Handler/SlackHandler.php
vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php
vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php
vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php
vendor/nikic/php-parser/lib/PhpParser/Comment.php
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php
vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php
vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php
vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php
vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/TypeHintReference.php
vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php
vendor/phpunit/phpunit/src/Framework/Assert/Functions.php
vendor/phpunit/phpunit/src/Framework/Assert.php
vendor/phpunit/phpunit/src/Framework/MockObject/MockBuilder.php
vendor/phpunit/phpunit/src/Framework/TestCase.php
vendor/phpunit/phpunit/src/Framework/TestListener.php
vendor/phpunit/phpunit/src/Framework/TestListenerDefaultImplementation.php
vendor/phpunit/phpunit/src/Runner/TestSuiteLoader.php
vendor/phpunit/phpunit/src/TextUI/Command.php
vendor/phpunit/phpunit/src/Util/Blacklist.php
vendor/sebastian/type/src/FalseType.php
vendor/sebastian/type/src/NullType.php
vendor/sebastian/type/src/Type.php
vendor/sebastian/type/src/TypeName.php
vendor/sebastian/type/src/UnionType.php
vendor/sebastian/type/src/UnknownType.php
vendor/webmozart/assert/src/Assert.php
vendor/webmozart/assert/src/Mixin.php

ApiClient.php

Line Element Reason
420 ApiClient::get_shipping_rate()

The rates call is deprecated. Please use method create_shipment_quote() instead.

InstalledVersions.php

Line Element Reason
247 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.

SlackbotHandler.php

Line Element Reason
25 SlackbotHandler

According to Slack the API used on this handler it is deprecated. Therefore this handler will be removed on 2.x Slack suggests to use webhooks instead. Please contact slack for more information.

SlackHandler.php

Line Element Reason
179 SlackHandler::getAttachmentColor()

Use underlying SlackRecord instead

196 SlackHandler::stringify()

Use underlying SlackRecord 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.

Param.php

Line Element Reason
72 Param::setTypeHint()

Use setType() instead

Comment.php

Line Element Reason
107 Comment::getLine()

Use getStartLine() instead

118 Comment::getFilePos()

Use getStartFilePos() instead

129 Comment::getTokenPos()

Use getStartTokenPos() instead

StaticMethod.php

Line Element Reason
19 StaticMethod

This contract is totally covered by Tag contract. Every class using StaticMethod also use Tag

ArgumentNode.php

Line Element Reason
99 ArgumentNode::getTypeHint()

use getArgumentTypeNode instead

110 ArgumentNode::setTypeHint()

use setArgumentTypeNode instead

119 ArgumentNode::isNullable()

use getArgumentTypeNode instead

128 ArgumentNode::setAsNullable()

use getArgumentTypeNode instead

MethodNode.php

Line Element Reason
112 MethodNode::hasReturnType()

use getReturnTypeNode instead

126 MethodNode::setReturnType()

use setReturnTypeNode instead

135 MethodNode::setNullableReturnType()

use setReturnTypeNode instead

149 MethodNode::getReturnType()

use getReturnTypeNode instead

168 MethodNode::hasNullableReturnType()

use getReturnTypeNode instead

ReturnTypeNode.php

Line Element Reason
35 ReturnTypeNode::isVoid()

use hasReturnStatement

TypeHintReference.php

Line Element Reason
11 TypeHintReference

in favour of Node\TypeNodeAbstract

MethodProphecy.php

Line Element Reason
453 MethodProphecy::shouldNotBeenCalled()

Functions.php

Line Element Reason
778 assertNotIsReadable()

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

833 assertNotIsWritable()

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

888 assertDirectoryNotExists()

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

943 assertDirectoryNotIsReadable()

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

998 assertDirectoryNotIsWritable()

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

1053 assertFileNotExists()

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

1108 assertFileNotIsReadable()

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

1163 assertFileNotIsWritable()

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

2020 assertRegExp()

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

2058 assertNotRegExp()

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

2441 assertEqualXMLStructure()

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

Assert.php

Line Element Reason
762 Assert::assertNotIsReadable()

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

801 Assert::assertNotIsWritable()

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

840 Assert::assertDirectoryNotExists()

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

881 Assert::assertDirectoryNotIsReadable()

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

923 Assert::assertDirectoryNotIsWritable()

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

963 Assert::assertFileNotExists()

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

1004 Assert::assertFileNotIsReadable()

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

1046 Assert::assertFileNotIsWritable()

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

1838 Assert::assertRegExp()

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

1872 Assert::assertNotRegExp()

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

2265 Assert::assertEqualXMLStructure()

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

MockBuilder.php

Line Element Reason
209 MockBuilder::setMethods()

https://github.com/sebastianbergmann/phpunit/pull/3687

310 MockBuilder::setMethodsExcept()

https://github.com/sebastianbergmann/phpunit/pull/3687

TestCase.php

Line Element Reason
422 TestCase::at()

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

139 TestCase::$backupGlobalsBlacklist

Use $backupGlobalsExcludeList instead

156 TestCase::$backupStaticAttributesBlacklist

Use $backupStaticAttributesExcludeList instead

TestListener.php

Line Element Reason
18 TestListener

Use the TestHook interfaces instead

25 TestListener::addError()

Use AfterTestErrorHook::executeAfterTestError instead

32 TestListener::addWarning()

Use AfterTestWarningHook::executeAfterTestWarning instead

39 TestListener::addFailure()

Use AfterTestFailureHook::executeAfterTestFailure instead

46 TestListener::addIncompleteTest()

Use AfterIncompleteTestHook::executeAfterIncompleteTest instead

53 TestListener::addRiskyTest()

Use AfterRiskyTestHook::executeAfterRiskyTest instead

60 TestListener::addSkippedTest()

Use AfterSkippedTestHook::executeAfterSkippedTest instead

77 TestListener::startTest()

Use BeforeTestHook::executeBeforeTest instead

84 TestListener::endTest()

Use AfterTestHook::executeAfterTest instead

TestListenerDefaultImplementation.php

Line Element Reason
18 TestListenerDefaultImplementation

The TestListener interface is deprecated

TestSuiteLoader.php

Line Element Reason
19 TestSuiteLoader

see https://github.com/sebastianbergmann/phpunit/issues/4039

Command.php

Line Element Reason
424 Command::handleLoader()

see https://github.com/sebastianbergmann/phpunit/issues/4039

Blacklist.php

Line Element Reason
17 Blacklist

Use ExcludeList instead

FalseType.php

Line Element Reason
42 FalseType::getReturnTypeDeclaration()

NullType.php

Line Element Reason
34 NullType::getReturnTypeDeclaration()

Type.php

Line Element Reason
91 Type::getReturnTypeDeclaration()

TypeName.php

Line Element Reason
84 TypeName::getNamespaceName()

Use namespaceName() instead

94 TypeName::getSimpleName()

Use simpleName() instead

104 TypeName::getQualifiedName()

Use qualifiedName() instead

UnionType.php

Line Element Reason
55 UnionType::getReturnTypeDeclaration()

UnknownType.php

Line Element Reason
34 UnknownType::getReturnTypeDeclaration()

Assert.php

Line Element Reason
319 Assert::isTraversable()

use "isIterable" or "isInstanceOf" instead

Mixin.php

Line Element Reason
483 Mixin::nullOrIsTraversable()

use "isIterable" or "isInstanceOf" instead

501 Mixin::allIsTraversable()

use "isIterable" or "isInstanceOf" instead

Search results