mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-01 20:49:53 +09:00
Update dependencies
This commit is contained in:
11
vendor/knplabs/github-api/CHANGELOG-3.X.md
vendored
11
vendor/knplabs/github-api/CHANGELOG-3.X.md
vendored
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 3.6.0
|
||||
|
||||
### Added
|
||||
- Include optional params parameter for Commits compare method ([mountiny](https://github.com/mountiny)) [#1053](https://github.com/KnpLabs/php-github-api/issues/1053)
|
||||
|
||||
### Changed
|
||||
- Update incorrect documentation ([pheeque1](https://github.com/pheeque1)) [#1058](https://github.com/KnpLabs/php-github-api/issues/1058)
|
||||
|
||||
### Fixed
|
||||
- fix(Apps): use /orgs/ORG/installation ([ellisio](https://github.com/ellisio)) [#1056](https://github.com/KnpLabs/php-github-api/issues/1056)
|
||||
|
||||
## 3.5.1
|
||||
|
||||
### Fixed
|
||||
|
||||
3
vendor/knplabs/github-api/composer.json
vendored
3
vendor/knplabs/github-api/composer.json
vendored
@@ -57,7 +57,8 @@
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"phpstan/extension-installer": true
|
||||
"phpstan/extension-installer": true,
|
||||
"composer/package-versions-deprecated": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ class Apps extends AbstractApi
|
||||
{
|
||||
$this->configurePreviewHeader();
|
||||
|
||||
return $this->get('/org/'.rawurldecode($org).'/installation');
|
||||
return $this->get('/orgs/'.rawurldecode($org).'/installation');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,14 +16,14 @@ class Commits extends AbstractApi
|
||||
return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/commits', $params);
|
||||
}
|
||||
|
||||
public function compare($username, $repository, $base, $head, $mediaType = null)
|
||||
public function compare($username, $repository, $base, $head, $mediaType = null, array $params = [])
|
||||
{
|
||||
$headers = [];
|
||||
if (null !== $mediaType) {
|
||||
$headers['Accept'] = $mediaType;
|
||||
}
|
||||
|
||||
return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/compare/'.rawurlencode($base).'...'.rawurlencode($head), [], $headers);
|
||||
return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/compare/'.rawurlencode($base).'...'.rawurlencode($head), $params, $headers);
|
||||
}
|
||||
|
||||
public function show($username, $repository, $sha)
|
||||
|
||||
Reference in New Issue
Block a user