From ee17eeb43b5f81da989dace296b332a894ca03e0 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 17 Mar 2024 21:08:22 +0000 Subject: [PATCH] Bump versions --- README.md | 6 +++--- psalm-baseline.xml | 2 +- psalm.xml | 2 ++ src/Client.php | 2 +- vendor-bin/phpstan/composer.json | 4 ++-- vendor-bin/phpunit/composer.json | 2 +- vendor-bin/psalm/composer.json | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 467b645..aef94e2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This version supports [PHP](https://php.net) 7.4-8.3. To get started, simply req ### Standard Installation ```bash -$ composer require "bitbucket/client:^4.6" \ +$ composer require "bitbucket/client:^4.7" \ "guzzlehttp/guzzle:^7.8" "http-interop/http-factory-guzzle:^1.2" ``` @@ -37,7 +37,7 @@ $ composer require "bitbucket/client:^4.6" \ #### Laravel: ```bash -$ composer require "graham-campbell/bitbucket:^10.3" +$ composer require "graham-campbell/bitbucket:^10.4" ``` 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). @@ -45,7 +45,7 @@ We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php ## Usage -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. +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.7/src) to get a full picture of what is available to use. ### Authentication diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 0d34aee..46b86ef 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + perPage]]> diff --git a/psalm.xml b/psalm.xml index 2e19b19..6327984 100644 --- a/psalm.xml +++ b/psalm.xml @@ -6,6 +6,8 @@ xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" errorBaseline="psalm-baseline.xml" + findUnusedBaselineEntry="true" + findUnusedCode="false" > diff --git a/src/Client.php b/src/Client.php index 07ae69d..008ca9a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -76,7 +76,7 @@ class Client * * @var string */ - private const USER_AGENT = 'bitbucket-php-api-client/4.6'; + private const USER_AGENT = 'bitbucket-php-api-client/4.7'; /** * The HTTP client builder. diff --git a/vendor-bin/phpstan/composer.json b/vendor-bin/phpstan/composer.json index 38f61a0..95323c4 100644 --- a/vendor-bin/phpstan/composer.json +++ b/vendor-bin/phpstan/composer.json @@ -1,11 +1,11 @@ { "require": { "php": "^8.1", - "phpstan/phpstan": "1.10.47", + "phpstan/phpstan": "1.10.62", "phpstan/phpstan-deprecation-rules": "1.1.4", "phpstan/phpstan-strict-rules": "1.5.2", "thecodingmachine/phpstan-strict-rules": "1.0.0", - "ergebnis/phpstan-rules": "2.1.0" + "ergebnis/phpstan-rules": "2.2.0" }, "config": { "preferred-install": "dist" diff --git a/vendor-bin/phpunit/composer.json b/vendor-bin/phpunit/composer.json index ce2646e..73f48cf 100644 --- a/vendor-bin/phpunit/composer.json +++ b/vendor-bin/phpunit/composer.json @@ -1,7 +1,7 @@ { "require": { "php": "^7.4.15 || ^8.0.2", - "phpunit/phpunit": "^9.6.15 || ^10.5.1" + "phpunit/phpunit": "^9.6.17 || ^10.5.13" }, "config": { "preferred-install": "dist" diff --git a/vendor-bin/psalm/composer.json b/vendor-bin/psalm/composer.json index 5a8af7c..d0f9668 100644 --- a/vendor-bin/psalm/composer.json +++ b/vendor-bin/psalm/composer.json @@ -1,7 +1,7 @@ { "require": { "php": "^8.1", - "psalm/phar": "5.16.0" + "psalm/phar": "5.23.1" }, "config": { "preferred-install": "dist"