Skip to content

Commit

Permalink
Bump version. Add @asteisiunas contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Oct 18, 2019
1 parent bb21a74 commit 60aaec1
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 11 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `cybercog/youtrack-rest-php` will be documented in this f

## [Unreleased]

## [6.2.0] - 2019-10-18

### Added

- ([#43]) Configurable API endpoint prefix

## [6.1.0] - 2018-06-30

### Added
Expand Down Expand Up @@ -98,7 +104,8 @@ All notable changes to `cybercog/youtrack-rest-php` will be documented in this f

- Initial release.

[Unreleased]: https://github.com/cybercog/youtrack-rest-php/compare/6.1.0...master
[Unreleased]: https://github.com/cybercog/youtrack-rest-php/compare/6.2.0...master
[6.2.0]: https://github.com/cybercog/youtrack-rest-php/compare/6.1.0...6.2.0
[6.1.0]: https://github.com/cybercog/youtrack-rest-php/compare/6.0.2...6.1.0
[6.0.2]: https://github.com/cybercog/youtrack-rest-php/compare/6.0.1...6.0.2
[6.0.0]: https://github.com/cybercog/youtrack-rest-php/compare/5.0.0...6.0.0
Expand All @@ -109,6 +116,7 @@ All notable changes to `cybercog/youtrack-rest-php` will be documented in this f
[3.0.0]: https://github.com/cybercog/youtrack-rest-php/compare/2.0.1...3.0.0
[2.0.1]: https://github.com/cybercog/youtrack-rest-php/compare/1.0.0...2.0.1

[#43]: https://github.com/cybercog/youtrack-rest-php/pull/43
[#41]: https://github.com/cybercog/youtrack-rest-php/pull/41
[#40]: https://github.com/cybercog/youtrack-rest-php/pull/40
[#39]: https://github.com/cybercog/youtrack-rest-php/pull/39
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018, Anton Komarev <anton@komarev.com>
Copyright (c) 2019, Anton Komarev <anton@komarev.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ If you discover any security related issues, please email open@cybercog.su inste

## Contributors

| <a href="https://github.com/antonkomarev">![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)<br />Anton Komarev</a> | <a href="https://github.com/adam187">![@adam187](https://avatars.githubusercontent.com/u/156628?s=110)<br />Adam Misiorny</a> | <a href="https://github.com/dmkdev"><br />dmkdev</a> |
| :---: | :---: | :---: |
| <a href="https://github.com/antonkomarev">![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)<br />Anton Komarev</a> | <a href="https://github.com/adam187">![@adam187](https://avatars.githubusercontent.com/u/156628?s=110)<br />Adam Misiorny</a> | <a href="https://github.com/dmkdev"><br />dmkdev</a> | <a href="https://github.com/asteisiunas"><br />asteisiunas</a> |
| :---: | :---: | :---: | :---: |

[PHP YouTrack REST contributors list](../../contributors)

Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
"docs": "https://github.com/cybercog/youtrack-rest-php/wiki"
},
"require": {
"guzzlehttp/guzzle": "^6.2",
"php": "^7.1"
"php": "^7.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.11",
Expand Down
2 changes: 1 addition & 1 deletion contracts/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface Client
/**
* Version of PHP YouTrack REST client.
*/
const VERSION = '6.1.0';
const VERSION = '6.2.0';

/**
* Create and send an HTTP request.
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/Authenticator/CookieAuthorizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class CookieAuthorizerTest extends FeatureTestCase
{
/** @test */
public function it_throws_exception_on_failed_cookie_authentication()
public function it_throws_exception_on_failed_cookie_authentication(): void
{
$mock = new MockHandler([
$this->createFakeResponse(403, 'incorrect-login'),
Expand All @@ -48,7 +48,7 @@ public function it_throws_exception_on_failed_cookie_authentication()
}

/** @todo test */
public function it_can_successfully_authenticate()
public function it_can_successfully_authenticate(): void
{
$http = new GuzzleHttpClient(new HttpClient([
'base_uri' => 'http://localhost',
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Authenticator/TokenAuthorizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class TokenAuthorizerTest extends FeatureTestCase
{
/** @test */
public function it_throws_exception_on_failed_token_authorization()
public function it_throws_exception_on_failed_token_authorization(): void
{
$mock = new MockHandler([
$this->createFakeResponse(401, 'unauthorized'),
Expand Down
2 changes: 1 addition & 1 deletion tests/FeatureTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected function initializeClient(): YouTrackClient
return new YouTrackClient($http, $authorizer);
}

protected function stubsPath($path): string
protected function stubsPath(string $path): string
{
return realpath(__DIR__ . '/stubs/' . $path);
}
Expand Down

0 comments on commit 60aaec1

Please sign in to comment.