Skip to content

Commit db0fe6b

Browse files
Release 4.6.0
1 parent 48b4118 commit db0fe6b

File tree

10 files changed

+24
-23
lines changed

10 files changed

+24
-23
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CHANGE LOG
22
==========
33

44

5+
## V4.6 (03/12/2023)
6+
7+
* Add support for `symfony/options-resolver:^7.0`
8+
9+
510
## V4.5 (08/10/2023)
611

712
* Added PHP 8.3 support

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This version supports [PHP](https://php.net) 7.4-8.3. To get started, simply req
2828
### Standard Installation
2929

3030
```bash
31-
$ composer require "bitbucket/client:^4.5" \
31+
$ composer require "bitbucket/client:^4.6" \
3232
"guzzlehttp/guzzle:^7.8" "http-interop/http-factory-guzzle:^1.2"
3333
```
3434

@@ -37,15 +37,15 @@ $ composer require "bitbucket/client:^4.5" \
3737
#### Laravel:
3838

3939
```bash
40-
$ composer require "graham-campbell/bitbucket:^10.2"
40+
$ composer require "graham-campbell/bitbucket:^10.3"
4141
```
4242

4343
We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php-fig.org/psr/psr-7/), [PSR-17](https://www.php-fig.org/psr/psr-17/), [PSR-18](https://www.php-fig.org/psr/psr-18/), and [HTTPlug](https://httplug.io/). You can visit [HTTPlug for library users](https://docs.php-http.org/en/latest/httplug/users.html) to get more information about installing HTTPlug related packages. The framework integration [`graham-campbell/bitbucket`](https://github.com/GrahamCampbell/Laravel-Bitbucket) is by [Graham Campbell](https://github.com/GrahamCampbell).
4444

4545

4646
## Usage
4747

48-
The main point of entry is the `Bitbucket\Client` class. Simply create a new instance of that, authenticate, and you're good to go! As of time of writing (Tuesday 29th June 2020), every endpoint (excluding issue export and import, and various deprecated endpoints) available on the Bitbucket API 2.0 is also available through this PHP client. We'd recommend looking through the [Bitbucket documentation](https://developer.atlassian.com/cloud/bitbucket/rest/intro/), and also the [source code](https://github.com/BitbucketPHP/Client/tree/4.5/src) to get a full picture of what is available to use.
48+
The main point of entry is the `Bitbucket\Client` class. Simply create a new instance of that, authenticate, and you're good to go! As of time of writing (Tuesday 29th June 2020), every endpoint (excluding issue export and import, and various deprecated endpoints) available on the Bitbucket API 2.0 is also available through this PHP client. We'd recommend looking through the [Bitbucket documentation](https://developer.atlassian.com/cloud/bitbucket/rest/intro/), and also the [source code](https://github.com/BitbucketPHP/Client/tree/4.6/src) to get a full picture of what is available to use.
4949

5050
### Authentication
5151

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"require": {
1414
"php": "^7.4.15 || ^8.0.2",
1515
"ext-json": "*",
16-
"php-http/cache-plugin": "^1.8",
17-
"php-http/client-common": "^2.7",
18-
"php-http/discovery": "^1.19",
16+
"php-http/cache-plugin": "^1.8.1",
17+
"php-http/client-common": "^2.7.1",
18+
"php-http/discovery": "^1.19.2",
1919
"php-http/httplug": "^2.4",
2020
"php-http/multipart-stream-builder": "^1.3",
2121
"psr/cache": "^1.0 || ^2.0 || ^3.0",

phpstan.neon.dist

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ includes:
77
rules:
88
- Ergebnis\PHPStan\Rules\Closures\NoNullableReturnTypeDeclarationRule
99
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
10-
- Ergebnis\PHPStan\Rules\Expressions\NoEmptyRule
1110
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
1211
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
1312
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule

phpunit.xml.dist

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
33
<testsuites>
44
<testsuite name="Test Suite">
55
<directory suffix="Test.php">./tests</directory>
66
</testsuite>
77
</testsuites>
8-
<coverage>
8+
<source>
99
<include>
1010
<directory suffix=".php">./src</directory>
1111
</include>
12-
</coverage>
12+
</source>
1313
</phpunit>

psalm-baseline.xml

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="4.x-dev@">
2+
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
33
<file src="src/ResultPager.php">
4-
<InaccessibleProperty occurrences="1">
5-
<code>$clone-&gt;perPage</code>
4+
<InaccessibleProperty>
5+
<code><![CDATA[$clone->perPage]]></code>
66
</InaccessibleProperty>
7-
<PossiblyInvalidFunctionCall occurrences="1">
8-
<code>$closure($api)</code>
9-
</PossiblyInvalidFunctionCall>
107
</file>
118
</files>

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Client
7676
*
7777
* @var string
7878
*/
79-
private const USER_AGENT = 'bitbucket-php-api-client/4.5';
79+
private const USER_AGENT = 'bitbucket-php-api-client/4.6';
8080

8181
/**
8282
* The HTTP client builder.

vendor-bin/phpstan/composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"require": {
33
"php": "^8.1",
4-
"phpstan/phpstan": "1.10.3",
5-
"phpstan/phpstan-deprecation-rules": "1.1.2",
6-
"phpstan/phpstan-strict-rules": "1.5.0",
4+
"phpstan/phpstan": "1.10.47",
5+
"phpstan/phpstan-deprecation-rules": "1.1.4",
6+
"phpstan/phpstan-strict-rules": "1.5.2",
77
"thecodingmachine/phpstan-strict-rules": "1.0.0",
8-
"ergebnis/phpstan-rules": "1.0.0"
8+
"ergebnis/phpstan-rules": "2.1.0"
99
},
1010
"config": {
1111
"preferred-install": "dist"

vendor-bin/phpunit/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4.15 || ^8.0.2",
4-
"phpunit/phpunit": "^9.6.3 || ^10.0.12"
4+
"phpunit/phpunit": "^9.6.15 || ^10.5.1"
55
},
66
"config": {
77
"preferred-install": "dist"

vendor-bin/psalm/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^8.1",
4-
"psalm/phar": "5.7.6"
4+
"psalm/phar": "5.16.0"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)