Skip to content

Commit afbd12b

Browse files
Bumped min PHP to 7.2.5
1 parent 1613206 commit afbd12b

File tree

5 files changed

+13
-28
lines changed

5 files changed

+13
-28
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.1', '7.2', '7.3', '7.4']
14+
php: ['7.2', '7.3', '7.4']
1515

1616
steps:
1717
- name: Checkout Code

README.md

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

2424
## Installation
2525

26-
This version supports [PHP](https://php.net) 7.1-7.4. 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.2-7.4. 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

30-
#### PHP 7.1+:
31-
32-
```
33-
$ composer require m4tthumphrey/php-gitlab-api:^11.0 php-http/guzzle6-adapter:^2.0.1 http-interop/http-factory-guzzle:^1.0
34-
```
35-
36-
#### PHP 7.2+:
37-
3830
```
39-
$ composer require m4tthumphrey/php-gitlab-api:^11.0 guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0
31+
$ composer require m4tthumphrey/php-gitlab-api:^11.0 guzzlehttp/guzzle:^7.2 http-interop/http-factory-guzzle:^1.0
4032
```
4133

4234
### Framework Integration
4335

44-
#### Laravel 6+:
45-
46-
```
47-
$ composer require graham-campbell/gitlab:^4.2 guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0
48-
```
49-
50-
#### Symfony 4:
36+
#### Laravel:
5137

5238
```
53-
$ composer require zeichen32/gitlabapibundle:^5.0 symfony/http-client:^4.4 nyholm/psr7:^1.3
39+
$ composer require graham-campbell/gitlab:^5.0 guzzlehttp/guzzle:^7.2 http-interop/http-factory-guzzle:^1.0
5440
```
5541

56-
#### Symfony 5:
42+
#### Symfony:
5743

5844
```
59-
$ composer require zeichen32/gitlabapibundle:^5.0 symfony/http-client:^5.0 nyholm/psr7:^1.3
45+
$ composer require zeichen32/gitlabapibundle:^6.0 symfony/http-client:^5.2 nyholm/psr7:^1.3
6046
```
6147

6248
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/gitlab](https://github.com/GrahamCampbell/Laravel-GitLab) is by [Graham Campbell](https://github.com/GrahamCampbell) and [zeichen32/gitlabapibundle](https://github.com/Zeichen32/GitLabApiBundle) is by [Jens Averkamp](https://github.com/Zeichen32).

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.1",
25+
"php": "^7.2.5",
2626
"ext-json": "*",
2727
"ext-xml": "*",
2828
"php-http/cache-plugin": "^1.7",
@@ -40,8 +40,7 @@
4040
},
4141
"require-dev": {
4242
"bamarni/composer-bin-plugin": "^1.4.1",
43-
"guzzlehttp/psr7": "^1.5.2",
44-
"php-http/guzzle6-adapter": "^2.0.1",
43+
"guzzlehttp/guzzle": "^7.2",
4544
"http-interop/http-factory-guzzle": "^1.0"
4645
},
4746
"autoload": {

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@
8686
$parameters->set('auto_import_names', true);
8787
$parameters->set('import_short_classes', false);
8888
$parameters->set('import_doc_blocks', false);
89-
$parameters->set('php_version_features', '7.1');
89+
$parameters->set('php_version_features', '7.2');
9090
$parameters->set('paths', [__DIR__.'/src', __DIR__.'/tests']);
91-
$parameters->set('sets', ['php52', 'php53', 'php54', 'php55', 'php56', 'php70', 'php71', 'phpunit40', 'phpunit50', 'phpunit60', 'phpunit70', 'phpunit75']);
91+
$parameters->set('sets', ['php52', 'php53', 'php54', 'php55', 'php56', 'php70', 'php71', 'php72', 'phpunit40', 'phpunit50', 'phpunit60', 'phpunit70', 'phpunit75', 'phpunit80']);
9292

9393
$services = $containerConfigurator->services();
9494
$services->set(ArrayKeyExistsTernaryThenValueToCoalescingRector::class);

vendor-bin/phpunit/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
3-
"php": "^7.1",
4-
"phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.7"
3+
"php": "^7.2.5",
4+
"phpunit/phpunit": "^8.5.8 || ^9.3.7"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)