Skip to content

Commit ddce875

Browse files
committed
Merge branch 'hotfix/0.8.4' into support/0.8
* hotfix/0.8.4: [Tests] Fixed broken tests on PHP 5.3 version bumped to 0.8.4 Updated links from org to io inside README [ci skip] Fix broken link to documentation
2 parents 6ff1daf + 1dd2c11 commit ddce875

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 0.8.4 / 2017-05-15
6+
7+
### Fixed:
8+
- Updated broken links (_.org to .io_) inside README.md
9+
- Fixed broken tests on PHP 5.3 due to short array syntax.
10+
511
## 0.8.3 / 2017-05-15
612

713
### Fixed:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Simple Bitbucket API wrapper for PHP >= 5.3.2.
1616

1717
## Getting started
1818

19-
Read [Introduction](http://gentlero.bitbucket.org/bitbucket-api/#introduction) and [Installation](http://gentlero.bitbucket.org/bitbucket-api/installation.html) from the documentation.
19+
Read [Introduction](https://gentlero.bitbucket.io/bitbucket-api/#introduction) and [Installation](https://gentlero.bitbucket.io/bitbucket-api/installation.html) from the documentation.
2020

2121
## Documentation
2222

23-
See [http://gentlero.bitbucket.org/bitbucket-api/](http://gentlero.bitbucket.org/bitbucket-api/) for more detailed documentation.
23+
See [https://gentlero.bitbucket.io/bitbucket-api/](https://gentlero.bitbucket.io/bitbucket-api/0.8/) for more detailed documentation.
2424

2525
## License
2626

lib/Bitbucket/API/Http/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Client extends ClientListener implements ClientInterface
3333
'api_versions' => array('1.0', '2.0'), // supported versions
3434
'format' => 'json',
3535
'formats' => array('json', 'xml'), // supported response formats
36-
'user_agent' => 'bitbucket-api-php/0.8.3 (https://bitbucket.org/gentlero/bitbucket-api)',
36+
'user_agent' => 'bitbucket-api-php/0.8.4 (https://bitbucket.org/gentlero/bitbucket-api)',
3737
'timeout' => 10,
3838
'verify_peer' => false
3939
);

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)