Skip to content

Commit

Permalink
Merge pull request #553 from stripe/ob-bump-dependencies
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
ob-stripe authored Nov 15, 2018
2 parents a99ab7d + 28d23e0 commit 51b43c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"php-coveralls/php-coveralls": "1.*",
"squizlabs/php_codesniffer": "~2.0"
"phpunit/phpunit": "^5.7",
"php-coveralls/php-coveralls": "^2.1",
"squizlabs/php_codesniffer": "^3.3"
},
"autoload": {
"psr-4": { "Stripe\\" : "lib/" }
Expand Down
2 changes: 1 addition & 1 deletion tests/Stripe/HttpClient/CurlClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private function setInitialNetworkRetryDelay($initialNetworkRetryDelay)

private function createFakeRandomGenerator($returnValue = 1.0)
{
$fakeRandomGenerator = $this->getMock('Stripe\Util\RandomGenetator', ['randFloat']);
$fakeRandomGenerator = $this->createMock('Stripe\Util\RandomGenerator', ['randFloat']);
$fakeRandomGenerator->method('randFloat')->willReturn($returnValue);
return $fakeRandomGenerator;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function setUp()
Stripe::setAccountId(null);

// Set up the HTTP client mocker
$this->clientMock = $this->getMock('\Stripe\HttpClient\ClientInterface');
$this->clientMock = $this->createMock('\Stripe\HttpClient\ClientInterface');

// By default, use the real HTTP client
ApiRequestor::setHttpClient(HttpClient\CurlClient::instance());
Expand Down

0 comments on commit 51b43c3

Please sign in to comment.