Skip to content

Commit 4efb089

Browse files
authored
Drop outdated compatibility note
1 parent bd958b5 commit 4efb089

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
[![Quality Score](https://img.shields.io/scrutinizer/g/omines/oauth2-gitlab.svg?style=flat-square)](https://scrutinizer-ci.com/g/omines/oauth2-gitlab)
77
[![Total Downloads](https://img.shields.io/packagist/dt/omines/oauth2-gitlab.svg?style=flat-square)](https://packagist.org/packages/omines/oauth2-gitlab)
88

9-
This package provides GitLab OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).
10-
11-
GitLab 8.17 or later is required as the V4 API is being used. If compatibility with older versions
12-
of GitLab is required use version 2 of this library.
9+
This package provides GitLab OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client). GitLab 8.17 or later is required.
1310

1411
## Installation
1512

@@ -26,7 +23,7 @@ Usage is similar to the basic OAuth client, using `\Omines\OAuth2\Client\Provide
2623
### Authorization Code Flow
2724

2825
```php
29-
$provider = new Omines\OAuth2\Client\Provider\Gitlab([
26+
$provider = new \Omines\OAuth2\Client\Provider\Gitlab([
3027
'clientId' => '{gitlab-client-id}',
3128
'clientSecret' => '{gitlab-client-secret}',
3229
'redirectUri' => 'https://example.com/callback-url',

0 commit comments

Comments
 (0)