Skip to content

Commit a62f48c

Browse files
Merge branch '9.18' into 9.19
2 parents c54f4df + 46fef68 commit a62f48c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ CHANGE LOG
88
* Support the issue link link_type parameter
99

1010

11+
## 9.18.2 (15/08/2020)
12+
13+
* Fixed typo in deprecation notice
14+
15+
1116
## 9.18.1 (22/07/2020)
1217

1318
* Fixed error in getHeader function

lib/Gitlab/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function authenticate($token, $authMethod = null, $sudo = null)
490490
@\trigger_error(\sprintf('The $authMethod will become required in version 10.0. Not providing an explicit authentication method is deprecated since version 9.18.'), E_USER_DEPRECATED);
491491
$authMethod = self::AUTH_URL_TOKEN;
492492
} elseif (self::AUTH_URL_TOKEN === $authMethod) {
493-
@\trigger_error(\sprintf('The AUTH_URL_TOKEN authentivation method is deprecated since version 9.18 and will be removed in 10.0. Use AUTH_HTTP_TOKEN instead.'), E_USER_DEPRECATED);
493+
@\trigger_error(\sprintf('The AUTH_URL_TOKEN authentication method is deprecated since version 9.18 and will be removed in 10.0. Use AUTH_HTTP_TOKEN instead.'), E_USER_DEPRECATED);
494494
} elseif (self::AUTH_HTTP_TOKEN !== $authMethod && self::AUTH_OAUTH_TOKEN !== $authMethod) {
495495
@\trigger_error(\sprintf('Passing an invalid authentication method is deprecated since version 9.1 and will be banned in version 10.0.'), E_USER_DEPRECATED);
496496
}

0 commit comments

Comments
 (0)