Skip to content

Commit 0c6e6a7

Browse files
authored
Merge pull request #1222 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-554d172cf98044b9f5c6d63efe52b97e-from-1.1.4-554d172cf98044b9f5c6d63efe52b97e
2 parents ca8f399 + ef22120 commit 0c6e6a7

File tree

656 files changed

+3316
-1306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

656 files changed

+3316
-1306
lines changed

clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

Lines changed: 713 additions & 705 deletions
Large diffs are not rendered by default.

clients/GitHubEnterpriseCloud/src/Internal/Operator/Users/GetById.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(int $accountId): PrivateUser|PublicUser
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Users\GetById($this->responseSchemaValidator, $this->hydrator, $accountId);

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Three.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(private Routers $routers)
3030
{
3131
}
3232

33-
/** @return |Observable<Schema\IntegrationInstallationRequest>|WithoutBody|Observable<Schema\Installation>|Observable<Schema\BaseGist>|Observable<string>|Observable<Schema\MarketplaceListingPlan>|Observable<Schema\SimpleUser>|Observable<Schema\Email>|Observable<Schema\GpgKey>|Observable<Schema\Issue>|Observable<Schema\Key>|Observable<Schema\UserMarketplacePurchase>|Observable<Schema\Migration>|Observable<Schema\OrganizationSimple>|Observable<Schema\Package>|Observable<Schema\Repository>|Observable<Schema\RepositoryInvitation>|Observable<Schema\SocialAccount>|Observable<Schema\SshSigningKey>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamFull>|Schema\PrivateUser|Schema\PublicUser */
33+
/** @return |Observable<Schema\IntegrationInstallationRequest>|WithoutBody|Observable<Schema\Installation>|Observable<Schema\BaseGist>|Observable<string>|Observable<Schema\MarketplaceListingPlan>|Observable<Schema\SimpleUser>|Observable<Schema\Email>|Observable<Schema\GpgKey>|Observable<Schema\Issue>|Observable<Schema\Key>|Observable<Schema\UserMarketplacePurchase>|Observable<Schema\Migration>|Observable<Schema\OrganizationSimple>|Observable<Schema\Package>|Observable<Schema\Repository>|Observable<Schema\RepositoryInvitation>|Observable<Schema\SocialAccount>|Observable<Schema\SshSigningKey>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamFull> */
3434
public function call(string $call, array $params, array $pathChunks): GlobalAdvisory|iterable|WithoutBody|Integration|ClassroomAssignment|Classroom|CodeOfConduct|GistSimple|Ok|License|OrganizationFull|Project|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Code\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Commits\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\IssuesAndPullRequests\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Labels\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Repos\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Topics\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Search\Users\Response\ApplicationJson\Ok|TeamFull|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationsForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|InteractionLimitResponse|One|PrivateUser|PublicUser
3535
{
3636
if ($pathChunks[0] === '') {

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Users.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ public function listSshSigningKeysForAuthenticatedUser(array $params): iterable|
246246
return $operator->call($arguments['per_page'], $arguments['page']);
247247
}
248248

249+
/** @return */
249250
public function getById(array $params): PrivateUser|PublicUser
250251
{
251252
$arguments = [];

clients/GitHubEnterpriseCloud/src/Operation/Users.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ public function deleteSshSigningKeyForAuthenticatedUser(int $sshSigningKeyId): W
262262
return $this->operators->users👷DeleteSshSigningKeyForAuthenticatedUser()->call($sshSigningKeyId);
263263
}
264264

265+
/** @return */
265266
public function getById(int $accountId): PrivateUser|PublicUser
266267
{
267268
return $this->operators->users👷GetById()->call($accountId);

clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4808,7 +4808,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
48084808
}
48094809

48104810
if ($call === 'GET /user/{account_id}') {
4811-
return $this->typeResolver->resolve('Schema\\PrivateUser|Schema\\PublicUser');
4811+
return $this->typeResolver->resolve('');
48124812
}
48134813

48144814
if ($call === 'GET /users') {

clients/GitHubEnterpriseCloud/src/Schema/Activity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
},
129129
"id": {
130130
"type": "integer",
131+
"format": "int64",
131132
"examples": [
132133
1
133134
]

clients/GitHubEnterpriseCloud/src/Schema/AddedToProjectIssueEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
},
7878
"id": {
7979
"type": "integer",
80+
"format": "int64",
8081
"examples": [
8182
1
8283
]
@@ -306,6 +307,7 @@
306307
},
307308
"id": {
308309
"type": "integer",
310+
"format": "int64",
309311
"examples": [
310312
1
311313
]
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
declare(strict_types=1);
44

5-
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet4E185393\TietBDA2E772\Tiet8E84BE53;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet1F36541D\TietE8E8E0D0\TietBA97175F;
66

77
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
88

9-
abstract readonly class Tiet71E72B6A
9+
abstract readonly class TietDC150087
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -695,7 +695,8 @@
695695
"format": "uri"
696696
},
697697
"id": {
698-
"type": "integer"
698+
"type": "integer",
699+
"format": "int64"
699700
},
700701
"login": {
701702
"type": "string"
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietB5BD8065\TietB2327564\Tiet214214AD;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet289C3D84\Tiet39360270\Tiet5E2682C6;
66

77
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
88
use EventSauce\ObjectHydrator\MapFrom;
99

10-
abstract readonly class TietF3CF5B92
10+
abstract readonly class Tiet94EE11F5
1111
{
1212
public const SCHEMA_JSON = '{
1313
"title": "Issue",
@@ -1187,7 +1187,8 @@
11871187
"format": "uri"
11881188
},
11891189
"id": {
1190-
"type": "integer"
1190+
"type": "integer",
1191+
"format": "int64"
11911192
},
11921193
"login": {
11931194
"type": "string"

0 commit comments

Comments
 (0)