Skip to content

[GitHub] Update to 1.1.4-c1edbd9927fe103e94027b18d46aa0e4 from 1.1.4-a937c40b238be216f274ad4de79f6216 #1274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "a937c40b238be216f274ad4de79f6216",
"specHash": "c1edbd9927fe103e94027b18d46aa0e4",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -524,7 +524,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
"hash": "dc82239b09fe63b1697224ad37c0fdbd"
"hash": "83705a685ea73d3e8f172764ffba2711"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
Expand Down Expand Up @@ -604,7 +604,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
"hash": "c843f67c31fcd76ac582718ea47638f5"
"hash": "7dc0b80dc766b24c64d6353f9288bca2"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php",
Expand Down Expand Up @@ -4628,11 +4628,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
"hash": "57e0474b30d9bfe4764fb68d55983a38"
"hash": "b0280f1996c06ebef0b59444546bdf93"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
"hash": "1edeeea4b84e11b682c75c5c6b6b54c0"
"hash": "9edc8dc810d292fb2055f23e871ef364"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
Expand Down Expand Up @@ -5336,11 +5336,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
"hash": "ae95d1e1e52676761c3ba14775d38251"
"hash": "79f4c16806156c36377e7a95df81f8ec"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
"hash": "2201c11f099d3ac2ea4ad74883a560af"
"hash": "200b734577fe064c81af8da3f7494686"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
Expand Down Expand Up @@ -5548,7 +5548,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
"hash": "e611c024166589048031495933a8698f"
"hash": "c3c8661a35c72576a99cb6e2e7f4d14b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Activity.php",
Expand Down Expand Up @@ -5612,7 +5612,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
"hash": "4d3790eabc151160cd5dede3363231ae"
"hash": "af3d3a3094434c46deb56bfd146053fc"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
Expand Down Expand Up @@ -5640,15 +5640,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Git.php",
"hash": "dc01fd7566d7ce87c7c04128bdf0abf2"
"hash": "01a785f1d19fb5d3590bdac51ca1ca54"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Pulls.php",
"hash": "d922518f8c93d21148f0207ad009c14a"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
"hash": "2aa5aeec88bf8febfdc6534579bd98cc"
"hash": "67428559cb53db9befa41253dc5d7da6"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Search.php",
Expand Down Expand Up @@ -11800,15 +11800,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
"hash": "2c3260075e7768a8b5b8800d6ae38ca2"
"hash": "4c877288af50a7b7334cb1bc2fd52324"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
"hash": "02db9d8e78d1d67bb97ca20eed00f61a"
"hash": "0dc395659ee136b10835c9fba64a5f11"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
"hash": "a7b4ff9e527950333fe8efd2489b1eb1"
"hash": "6dd804426a30e9e4498933adb821994b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php",
Expand Down Expand Up @@ -12124,7 +12124,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/SecurityAdvisories\/ListGlobalAdvisories.php",
"hash": "22ecc864eef12dfd0665e266cb5082df"
"hash": "a21940d43257f4ce8aed9a8bbb0d5023"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/SecurityAdvisories\/ListGlobalAdvisoriesTest.php",
Expand Down Expand Up @@ -24428,7 +24428,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
"hash": "b835dbebbc02db726cee0166e6e4b2b5"
"hash": "f5f3320e7675e1cb808becb9e50870f5"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Apps.php",
Expand Down Expand Up @@ -24948,7 +24948,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
"hash": "589274e4f834a3a056adcad981a7ab4a"
"hash": "3eeaba9defd38317f28edc94eec69799"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Three.php",
Expand Down Expand Up @@ -27776,11 +27776,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "2e22a66b2be765d7ac4ab913343d6f6d"
"hash": "b279bfe420072ca3881b316b41cde25a"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "8a8d801112f2c02eb6abab83fef30757"
"hash": "a3cd037b10acacb7fbfa8165f0c08dac"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
{
}

/** @return iterable<int,Schema\GlobalAdvisory> */
/** @return Observable<Schema\GlobalAdvisory> */
public function call(string $ghsaId, string $cveId, string $ecosystem, string $severity, $cwes, bool $isWithdrawn, $affects, string $published, string $updated, string $modified, string $epssPercentage, string $epssPercentile, string $before, string $after, string $type = 'reviewed', string $direction = 'desc', int $perPage = 30, string $sort = 'published'): iterable
{
$operation = new \ApiClients\Client\GitHub\Internal\Operation\SecurityAdvisories\ListGlobalAdvisories($this->responseSchemaValidator, $this->hydrator, $ghsaId, $cveId, $ecosystem, $severity, $cwes, $isWithdrawn, $affects, $published, $updated, $modified, $epssPercentage, $epssPercentile, $before, $after, $type, $direction, $perPage, $sort);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
{
}

/** @return iterable<int,Schema\GlobalAdvisory> */
/** @return Observable<Schema\GlobalAdvisory> */
public function listGlobalAdvisories(array $params): iterable
{
$arguments = [];
Expand Down
2 changes: 1 addition & 1 deletion clients/GitHub/src/Internal/Router/Get/Two.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(private Routers $routers)
{
}

/** @return iterable<int,Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
/** @return Observable<Schema\GlobalAdvisory>||Observable<Schema\SimpleClassroom>|Observable<Schema\CodeOfConduct>|WithoutBody|Observable<Schema\Event>|Observable<Schema\BaseGist>|Observable<Schema\Issue>|Observable<Schema\LicenseSimple>|Observable<Schema\Thread>|Observable<Schema\OrganizationSimple>|Observable<Schema\MinimalRepository>|Observable<Schema\SimpleUser>|Observable<string> */
public function call(string $call, array $params, array $pathChunks): iterable|Integration|WithoutBody|Json|Feed|ApiOverview|ResponseInterface|RateLimitOverview|PrivateUser|PublicUser|string
{
if ($pathChunks[0] === '') {
Expand Down
2 changes: 1 addition & 1 deletion clients/GitHub/src/Operation/SecurityAdvisories.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(private Internal\Operators $operators)
{
}

/** @return iterable<int,Schema\GlobalAdvisory> */
/** @return Observable<Schema\GlobalAdvisory> */
public function listGlobalAdvisories(string $ghsaId, string $cveId, string $ecosystem, string $severity, mixed $cwes, bool $isWithdrawn, mixed $affects, string $published, string $updated, string $modified, string $epssPercentage, string $epssPercentile, string $before, string $after, string $type, string $direction, int $perPage, string $sort): iterable
{
return $this->operators->securityAdvisories👷ListGlobalAdvisories()->call($ghsaId, $cveId, $ecosystem, $severity, $cwes, $isWithdrawn, $affects, $published, $updated, $modified, $epssPercentage, $epssPercentile, $before, $after, $type, $direction, $perPage, $sort);
Expand Down
2 changes: 1 addition & 1 deletion clients/GitHub/src/PHPStan/ClientCallReturnTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
}

if ($call === 'GET /advisories') {
return $this->typeResolver->resolve('iterable<int,Schema\\GlobalAdvisory>');
return $this->typeResolver->resolve('Observable<Schema\\GlobalAdvisory>');
}

if ($call === 'GET /advisories/{ghsa_id}') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -1150,12 +1149,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -931,12 +930,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -1145,12 +1144,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -926,12 +925,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
7 changes: 3 additions & 4 deletions clients/GitHub/src/Schema/RepositoryRuleset.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -1248,12 +1247,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
5 changes: 2 additions & 3 deletions clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand All @@ -50,7 +49,7 @@
public const SCHEMA_DESCRIPTION = 'An actor that can bypass rules in a ruleset';
public const SCHEMA_EXAMPLE_DATA = '{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1786,8 +1786,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -3426,12 +3425,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1786,8 +1786,7 @@
"OrganizationAdmin",
"RepositoryRole",
"Team",
"DeployKey",
"EnterpriseTeam"
"DeployKey"
],
"type": "string",
"description": "The type of actor that can bypass a ruleset.\\n"
Expand Down Expand Up @@ -3426,12 +3425,12 @@
"bypass_actors": [
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
},
{
"actor_id": 8,
"actor_type": "EnterpriseTeam",
"actor_type": "DeployKey",
"bypass_mode": "always"
}
],
Expand Down
Loading
Loading