Skip to content

Commit 1448c8b

Browse files
Dropped EOL versions
1 parent c8a6e24 commit 1448c8b

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
14+
php: ['7.4', '8.0', '8.1']
1515

1616
steps:
1717
- name: Checkout Code

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CHANGE LOG
22
==========
33

44

5+
## V4.2 (UPCOMING)
6+
7+
* Dropped PHP 7.2 and 7.3 support
8+
9+
510
## V4.1 (23/01/2022)
611

712
* Added PHP 8.1 support

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ Check out the [change log](CHANGELOG.md), [releases](https://github.com/Bitbucke
2323

2424
## Installation
2525

26-
This version supports [PHP](https://php.net) 7.2-8.1. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
26+
This version supports [PHP](https://php.net) 7.4-8.1. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
2727

2828
### Standard Installation
2929

3030
```bash
31-
$ composer require "bitbucket/client:^4.1" "guzzlehttp/guzzle:^7.4" "http-interop/http-factory-guzzle:^1.0"
31+
$ composer require "bitbucket/client:^4.2" "guzzlehttp/guzzle:^7.4" "http-interop/http-factory-guzzle:^1.2"
3232
```
3333

3434
### Framework Integration
3535

36-
#### Laravel 6+:
36+
#### Laravel:
3737

3838
```bash
39-
$ composer require "graham-campbell/bitbucket:^8.1" "guzzlehttp/guzzle:^7.4" "http-interop/http-factory-guzzle:^1.0"
39+
$ composer require "graham-campbell/bitbucket:^9.0"
4040
```
4141

4242
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).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.2.5 || ^8.0",
14+
"php": "^7.4.15 || ^8.0.2",
1515
"ext-json": "*",
1616
"php-http/cache-plugin": "^1.7.5",
1717
"php-http/client-common": "^2.5",

src/Client.php

Lines changed: 1 addition & 1 deletion
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.1';
79+
private const USER_AGENT = 'bitbucket-php-api-client/4.2';
8080

8181
/**
8282
* The HTTP client builder.

vendor-bin/phpunit/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"php": "^7.2.5 || ^8.0.2",
3+
"php": "^7.4.15 || ^8.0.2",
44
"phpunit/phpunit": "^8.5.23 || ^9.5.12"
55
},
66
"config": {

0 commit comments

Comments
 (0)