Skip to content

Commit 1dd2c11

Browse files
committed
[Tests] Fixed broken tests on PHP 5.3
Tests were broken due usage of short array syntax.
1 parent 91d96f2 commit 1dd2c11

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
### Fixed:
88
- Updated broken links (_.org to .io_) inside README.md
9+
- Fixed broken tests on PHP 5.3 due to short array syntax.
910

1011
## 0.8.3 / 2017-05-15
1112

test/Bitbucket/Tests/API/Http/ClientTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ private function getListenerMock($name = 'dummy')
207207

208208
public function invalidApiVersionsProvider()
209209
{
210-
return [
211-
['3.1'], ['1,2'], ['1,0'], ['2.1'], ['4'], [2], ['string'], [2.0]
212-
];
210+
return array(
211+
array('3.1'), array('1,2'), array('1,0'), array('2.1'), array('4'), array(2), array('string'), array(2.0)
212+
);
213213
}
214214
}

0 commit comments

Comments
 (0)