Skip to content

Commit 6a0bc3e

Browse files
authored
Merge pull request #1257 from php-api-clients/GitHubEnterprise-3.1/from-1.1.4-defb420907f5c36a22e1584342e0e531-from-1.1.4-defb420907f5c36a22e1584342e0e531
2 parents d84c763 + 73697be commit 6a0bc3e

File tree

353 files changed

+705
-705
lines changed

Some content is hidden

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

353 files changed

+705
-705
lines changed

clients/GitHubEnterprise-3.1/etc/openapi-client-generator.state

+353-353
Large diffs are not rendered by default.

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Hooks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
281281
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
282282
'ApiClients\Client\GitHubEnterprise\Schema\GlobalHook' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️GlobalHook($object),
283283
'ApiClients\Client\GitHubEnterprise\Schema\GlobalHook\Config' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️GlobalHook⚡️Config($object),
284-
default => throw new LogicException('No serialization defined for $className'),
284+
default => throw new LogicException("No serialization defined for $className"),
285285
};
286286
} catch (Throwable $exception) {
287287
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Hooks/HookId.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
476476
'ApiClients\Client\GitHubEnterprise\Schema\GlobalHook\Config' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️GlobalHook⚡️Config($object),
477477
'ApiClients\Client\GitHubEnterprise\Schema\GlobalHook2' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️GlobalHook2($object),
478478
'ApiClients\Client\GitHubEnterprise\Schema\GlobalHook2\Config' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️GlobalHook2⚡️Config($object),
479-
default => throw new LogicException('No serialization defined for $className'),
479+
default => throw new LogicException("No serialization defined for $className"),
480480
};
481481
} catch (Throwable $exception) {
482482
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Ldap/Teams/TeamId/Mapping.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
237237
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
238238
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
239239
'ApiClients\Client\GitHubEnterprise\Schema\LdapMappingTeam' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️LdapMappingTeam($object),
240-
default => throw new LogicException('No serialization defined for $className'),
240+
default => throw new LogicException("No serialization defined for $className"),
241241
};
242242
} catch (Throwable $exception) {
243243
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Ldap/Teams/TeamId/Sync.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
105105
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
106106
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
107107
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\SyncLdapMappingForTeam\Response\ApplicationJson\Created' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️SyncLdapMappingForTeam⚡️Response⚡️ApplicationJson⚡️Created($object),
108-
default => throw new LogicException('No serialization defined for $className'),
108+
default => throw new LogicException("No serialization defined for $className"),
109109
};
110110
} catch (Throwable $exception) {
111111
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Ldap/Users/Username/Mapping.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
633633
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
634634
'ApiClients\Client\GitHubEnterprise\Schema\LdapMappingUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️LdapMappingUser($object),
635635
'ApiClients\Client\GitHubEnterprise\Schema\LdapMappingUser\Plan' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️LdapMappingUser⚡️Plan($object),
636-
default => throw new LogicException('No serialization defined for $className'),
636+
default => throw new LogicException("No serialization defined for $className"),
637637
};
638638
} catch (Throwable $exception) {
639639
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Ldap/Users/Username/Sync.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
105105
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
106106
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
107107
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\SyncLdapMappingForUser\Response\ApplicationJson\Created\Application\Json' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️SyncLdapMappingForUser⚡️Response⚡️ApplicationJson⚡️Created⚡️Application⚡️Json($object),
108-
default => throw new LogicException('No serialization defined for $className'),
108+
default => throw new LogicException("No serialization defined for $className"),
109109
};
110110
} catch (Throwable $exception) {
111111
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Organizations.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
226226
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
227227
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
228228
'ApiClients\Client\GitHubEnterprise\Schema\OrganizationSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️OrganizationSimple($object),
229-
default => throw new LogicException('No serialization defined for $className'),
229+
default => throw new LogicException("No serialization defined for $className"),
230230
};
231231
} catch (Throwable $exception) {
232232
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Organizations/Org.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
116116
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
117117
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
118118
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\UpdateOrgName\Response\ApplicationJson\Accepted' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️UpdateOrgName⚡️Response⚡️ApplicationJson⚡️Accepted($object),
119-
default => throw new LogicException('No serialization defined for $className'),
119+
default => throw new LogicException("No serialization defined for $className"),
120120
};
121121
} catch (Throwable $exception) {
122122
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveEnvironments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
270270
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
271271
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveEnvironment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveEnvironment($object),
272272
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveEnvironment\Download' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveEnvironment⚡️Download($object),
273-
default => throw new LogicException('No serialization defined for $className'),
273+
default => throw new LogicException("No serialization defined for $className"),
274274
};
275275
} catch (Throwable $exception) {
276276
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveEnvironments/PreReceiveEnvironmentId.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
358358
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveEnvironment\Download' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveEnvironment⚡️Download($object),
359359
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\DeletePreReceiveEnvironment\Response\ApplicationJson\UnprocessableEntity' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️DeletePreReceiveEnvironment⚡️Response⚡️ApplicationJson⚡️UnprocessableEntity($object),
360360
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\UpdatePreReceiveEnvironment\Response\ApplicationJson\UnprocessableEntity\Application\Json' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️UpdatePreReceiveEnvironment⚡️Response⚡️ApplicationJson⚡️UnprocessableEntity⚡️Application⚡️Json($object),
361-
default => throw new LogicException('No serialization defined for $className'),
361+
default => throw new LogicException("No serialization defined for $className"),
362362
};
363363
} catch (Throwable $exception) {
364364
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveEnvironments/PreReceiveEnvironmentId/Downloads.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
225225
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveEnvironmentDownloadStatus' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveEnvironmentDownloadStatus($object),
226226
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\StartPreReceiveEnvironmentDownload\Response\ApplicationJson\UnprocessableEntity\Application\Json' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️StartPreReceiveEnvironmentDownload⚡️Response⚡️ApplicationJson⚡️UnprocessableEntity⚡️Application⚡️Json($object),
227227
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\StartPreReceiveEnvironmentDownloadStreaming\Response\ApplicationJson\UnprocessableEntity\Application\Json' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️StartPreReceiveEnvironmentDownloadStreaming⚡️Response⚡️ApplicationJson⚡️UnprocessableEntity⚡️Application⚡️Json($object),
228-
default => throw new LogicException('No serialization defined for $className'),
228+
default => throw new LogicException("No serialization defined for $className"),
229229
};
230230
} catch (Throwable $exception) {
231231
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveEnvironments/PreReceiveEnvironmentId/Downloads/Latest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
138138
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
139139
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
140140
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveEnvironmentDownloadStatus' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveEnvironmentDownloadStatus($object),
141-
default => throw new LogicException('No serialization defined for $className'),
141+
default => throw new LogicException("No serialization defined for $className"),
142142
};
143143
} catch (Throwable $exception) {
144144
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveHooks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
517517
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\ScriptRepository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️ScriptRepository($object),
518518
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\Environment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️Environment($object),
519519
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\Environment\Download' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️Environment⚡️Download($object),
520-
default => throw new LogicException('No serialization defined for $className'),
520+
default => throw new LogicException("No serialization defined for $className"),
521521
};
522522
} catch (Throwable $exception) {
523523
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/PreReceiveHooks/PreReceiveHookId.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
517517
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\ScriptRepository' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️ScriptRepository($object),
518518
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\Environment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️Environment($object),
519519
'ApiClients\Client\GitHubEnterprise\Schema\PreReceiveHook\Environment\Download' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️PreReceiveHook⚡️Environment⚡️Download($object),
520-
default => throw new LogicException('No serialization defined for $className'),
520+
default => throw new LogicException("No serialization defined for $className"),
521521
};
522522
} catch (Throwable $exception) {
523523
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Users.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
325325
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
326326
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
327327
'ApiClients\Client\GitHubEnterprise\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($object),
328-
default => throw new LogicException('No serialization defined for $className'),
328+
default => throw new LogicException("No serialization defined for $className"),
329329
};
330330
} catch (Throwable $exception) {
331331
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Users/Username.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
116116
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
117117
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
118118
'ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\UpdateUsernameForUser\Response\ApplicationJson\Accepted\Application\Json' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Operations⚡️EnterpriseAdmin⚡️UpdateUsernameForUser⚡️Response⚡️ApplicationJson⚡️Accepted⚡️Application⚡️Json($object),
119-
default => throw new LogicException('No serialization defined for $className'),
119+
default => throw new LogicException("No serialization defined for $className"),
120120
};
121121
} catch (Throwable $exception) {
122122
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/Admin/Users/Username/Authorizations.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
10651065
'ApiClients\Client\GitHubEnterprise\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($object),
10661066
'ApiClients\Client\GitHubEnterprise\Schema\ScopedInstallation' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️ScopedInstallation($object),
10671067
'ApiClients\Client\GitHubEnterprise\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️AppPermissions($object),
1068-
default => throw new LogicException('No serialization defined for $className'),
1068+
default => throw new LogicException("No serialization defined for $className"),
10691069
};
10701070
} catch (Throwable $exception) {
10711071
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/App.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
631631
'ApiClients\Client\GitHubEnterprise\Schema\Integration' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Integration($object),
632632
'ApiClients\Client\GitHubEnterprise\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($object),
633633
'ApiClients\Client\GitHubEnterprise\Schema\Integration\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️Integration⚡️Permissions($object),
634-
default => throw new LogicException('No serialization defined for $className'),
634+
default => throw new LogicException("No serialization defined for $className"),
635635
};
636636
} catch (Throwable $exception) {
637637
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/App/Hook/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
138138
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
139139
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
140140
'ApiClients\Client\GitHubEnterprise\Schema\WebhookConfig' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️WebhookConfig($object),
141-
default => throw new LogicException('No serialization defined for $className'),
141+
default => throw new LogicException("No serialization defined for $className"),
142142
};
143143
} catch (Throwable $exception) {
144144
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHubEnterprise-3.1/src/Internal/Hydrator/Operation/App/Installations/InstallationId.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
10301030
'ApiClients\Client\GitHubEnterprise\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️AppPermissions($object),
10311031
'ApiClients\Client\GitHubEnterprise\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($object),
10321032
'ApiClients\Client\GitHubEnterprise\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️BasicError($object),
1033-
default => throw new LogicException('No serialization defined for $className'),
1033+
default => throw new LogicException("No serialization defined for $className"),
10341034
};
10351035
} catch (Throwable $exception) {
10361036
throw UnableToSerializeObject::dueToError($className, $exception);

0 commit comments

Comments
 (0)