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"
Lines changed: 6 additions & 2 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\Tiet640E3A53\Tiet5B25F0BF\Tiet58C59290;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet2BC9643A\TietA6C81625\Tiet1066F4AD;
66

77
use EventSauce\ObjectHydrator\MapFrom;
88

9-
abstract readonly class Tiet969D6995
9+
abstract readonly class TietEC0182EC
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -350,6 +350,7 @@
350350
},
351351
"id": {
352352
"type": "integer",
353+
"format": "int64",
353354
"examples": [
354355
1
355356
]
@@ -511,6 +512,7 @@
511512
},
512513
"id": {
513514
"type": "integer",
515+
"format": "int64",
514516
"examples": [
515517
1
516518
]
@@ -916,6 +918,7 @@
916918
},
917919
"id": {
918920
"type": "integer",
921+
"format": "int64",
919922
"examples": [
920923
1
921924
]
@@ -1732,6 +1735,7 @@
17321735
},
17331736
"id": {
17341737
"type": "integer",
1738+
"format": "int64",
17351739
"examples": [
17361740
1
17371741
]
Lines changed: 3 additions & 2 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\Tiet74F5735B\TietD9DAA6DA\Tiet7417DFC2;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet2BECBFE5\TietF836DE6E\Tiet8A62A3C4;
66

77
use EventSauce\ObjectHydrator\MapFrom;
88

9-
abstract readonly class TietB6EDBBA6
9+
abstract readonly class Tiet79F42475
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -140,6 +140,7 @@
140140
},
141141
"id": {
142142
"type": "integer",
143+
"format": "int64",
143144
"examples": [
144145
1
145146
]
Lines changed: 5 additions & 2 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\Tiet9719E28C\Tiet321B4979\TietE0B70ACE;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet3547D23E\TietCF06660A\Tiet3B55D8FF;
66

77
use EventSauce\ObjectHydrator\MapFrom;
88

9-
abstract readonly class TietE6B73F2C
9+
abstract readonly class TietA4A4BE2E
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -125,6 +125,7 @@
125125
},
126126
"id": {
127127
"type": "integer",
128+
"format": "int64",
128129
"examples": [
129130
1
130131
]
@@ -286,6 +287,7 @@
286287
},
287288
"id": {
288289
"type": "integer",
290+
"format": "int64",
289291
"examples": [
290292
1
291293
]
@@ -523,6 +525,7 @@
523525
},
524526
"id": {
525527
"type": "integer",
528+
"format": "int64",
526529
"examples": [
527530
1
528531
]
Lines changed: 3 additions & 2 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\Tiet6661B3CC\Tiet1BDE29E3\Tiet512DD1D0;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet6430BEA6\Tiet112DA862\TietBEA129F7;
66

77
use EventSauce\ObjectHydrator\MapFrom;
88

9-
abstract readonly class Tiet155300AB
9+
abstract readonly class Tiet9CB3F951
1010
{
1111
public const SCHEMA_JSON = '{
1212
"type": "object",
@@ -109,6 +109,7 @@
109109
},
110110
"id": {
111111
"type": "integer",
112+
"format": "int64",
112113
"examples": [
113114
1
114115
]
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\TietC791A23C\Tiet9A6EC3C9\TietA258C668;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\Tiet73D03AC6\Tiet052682E9\Tiet3922826A;
66

77
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
88

9-
abstract readonly class TietA94C831F
9+
abstract readonly class Tiet25B9F4B0
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
@@ -734,7 +734,8 @@
734734
"format": "uri"
735735
},
736736
"id": {
737-
"type": "integer"
737+
"type": "integer",
738+
"format": "int64"
738739
},
739740
"login": {
740741
"type": "string"

0 commit comments

Comments
 (0)