You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// or $client->authenticate($username, $password, Client::AUTH_HTTP_PASSWORD);
54
-
$adapter = new GithubAdapter($client, $project);
55
-
61
+
$client = new Client(new GithubClient(), $settings);
62
+
$adapter = new GithubAdapter($client);
56
63
$filesystem = new Filesystem($adapter);
57
64
```
58
65
59
-
For full details, see the [php-github-api documentation concerning authentication](https://github.com/KnpLabs/php-github-api/blob/master/doc/security.md).
60
-
61
66
### Cache Usage
62
67
63
68
```php
64
-
use Github\Client;
69
+
use Github\Client as GithubClient;
65
70
use Github\HttpClient\CachedHttpClient as CachedClient;
66
71
use Github\HttpClient\Cache\FilesystemCache as Cache;
0 commit comments