Skip to content

Commit 391fd5c

Browse files
authored
Merge pull request #1579 from php-api-clients/GitHub/from-1.1.4-4bfe6378be3ffa1aed95dac111e07ebb-from-1.1.4-4bfe6378be3ffa1aed95dac111e07ebb
2 parents 5b96b86 + 546d260 commit 391fd5c

30 files changed

+160
-145
lines changed

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

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "85662c80b53f38fb1fdf4e581c839168",
2+
"specHash": "4bfe6378be3ffa1aed95dac111e07ebb",
33
"generatedFiles": {
44
"files": [
55
{
@@ -600,11 +600,11 @@
600600
},
601601
{
602602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php",
603-
"hash": "91c7ac9573eb32fb3215679ff2902ba7"
603+
"hash": "8519cdec25b5fee363ea63e478fc3cb1"
604604
},
605605
{
606606
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
607-
"hash": "b148af999781e1841d4bbeb1729b0bb5"
607+
"hash": "e94cb4b94aa570dacbc81a5fa6877dad"
608608
},
609609
{
610610
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php",
@@ -4612,11 +4612,11 @@
46124612
},
46134613
{
46144614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
4615-
"hash": "b189dccda6487b31c78efbd3547ff0c5"
4615+
"hash": "7d5d76e6c4bd5b18815d84d687645aea"
46164616
},
46174617
{
46184618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
4619-
"hash": "5ded3557f7313bbfaa871698a53da4fd"
4619+
"hash": "1522d3c75fc09e21c47ddd8ec31d128f"
46204620
},
46214621
{
46224622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
@@ -5132,7 +5132,7 @@
51325132
},
51335133
{
51345134
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Issues\/Create\/Request\/ApplicationJson.php",
5135-
"hash": "58d9cbfc582af8b196b8c88b0f0d48fe"
5135+
"hash": "bb6b1baeb9a4e2d9791a30e6efd19ac5"
51365136
},
51375137
{
51385138
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Issues\/Create\/Request\/ApplicationJson\/Labels\/One.php",
@@ -5148,7 +5148,7 @@
51485148
},
51495149
{
51505150
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Issues\/Update\/Request\/ApplicationJson.php",
5151-
"hash": "fbf6609d1b12d0daa1e76dfec693c212"
5151+
"hash": "8d5c34465f28b7faba9cd19b2c57e24a"
51525152
},
51535153
{
51545154
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Issues\/AddAssignees\/Request\/ApplicationJson.php",
@@ -5320,11 +5320,11 @@
53205320
},
53215321
{
53225322
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
5323-
"hash": "3b6ef56edb2b344b2735ed73210447c0"
5323+
"hash": "45024c3728f6216dfa91bb2ff7784c65"
53245324
},
53255325
{
53265326
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
5327-
"hash": "dedd1b228f943df806c2d320ff2fb07a"
5327+
"hash": "afa74463bd4af840f60b42d627bf8008"
53285328
},
53295329
{
53305330
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
@@ -5548,7 +5548,7 @@
55485548
},
55495549
{
55505550
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Issues.php",
5551-
"hash": "b3afb3b7a3a5974c497eaeb747b1a589"
5551+
"hash": "dd6985fc102c83faa9ab2042e7c1aea8"
55525552
},
55535553
{
55545554
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Licenses.php",
@@ -5560,7 +5560,7 @@
55605560
},
55615561
{
55625562
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5563-
"hash": "4652d7fe02e0830faa310d7d91dec8ba"
5563+
"hash": "3c3f57468d30f949b1989bbbac7bbe31"
55645564
},
55655565
{
55665566
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php",
@@ -5596,7 +5596,7 @@
55965596
},
55975597
{
55985598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5599-
"hash": "871931cc603472974d1eb4aedea5f80f"
5599+
"hash": "44cc22eab5e09a25e5462f975ff982ea"
56005600
},
56015601
{
56025602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -11564,7 +11564,7 @@
1156411564
},
1156511565
{
1156611566
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php",
11567-
"hash": "00c4bbb14b11e0b8cc64c43f8a08539f"
11567+
"hash": "224cd2140c2b1e934ba658ceff52d1a4"
1156811568
},
1156911569
{
1157011570
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotOrganizationDetails.php",
@@ -11680,15 +11680,15 @@
1168011680
},
1168111681
{
1168211682
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
11683-
"hash": "6374f7a8d4cdd286c4e283c3d533dc22"
11683+
"hash": "8865cd10465ff9425eb76ee95f6c429f"
1168411684
},
1168511685
{
1168611686
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
11687-
"hash": "da43fa70197a959e803f75ea4292e5cc"
11687+
"hash": "1ec01b75b354ac454f0564d0b38476d1"
1168811688
},
1168911689
{
1169011690
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
11691-
"hash": "66a02e2499a17f932a12da2ac53f6f58"
11691+
"hash": "88d095541c692b12b3c270a30d21304d"
1169211692
},
1169311693
{
1169411694
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php",
@@ -11920,7 +11920,7 @@
1192011920
},
1192111921
{
1192211922
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php",
11923-
"hash": "b0f593db7c96615e2dad6e1469ce5849"
11923+
"hash": "1c33fb881508bc7da4ae82aac02d9542"
1192411924
},
1192511925
{
1192611926
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php",
@@ -11948,11 +11948,11 @@
1194811948
},
1194911949
{
1195011950
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php",
11951-
"hash": "26883f33ae868b27d6603830d137643e"
11951+
"hash": "b49c288f03f3e7ba40e660d937401c70"
1195211952
},
1195311953
{
1195411954
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php",
11955-
"hash": "bdbfe86e35b8c68c323750f840cef84e"
11955+
"hash": "309f7abf85dd75cbde9cb01092799db7"
1195611956
},
1195711957
{
1195811958
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php",
@@ -20872,7 +20872,7 @@
2087220872
},
2087320873
{
2087420874
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetBranchRules.php",
20875-
"hash": "d3d4c1d3680ec79d451d87878dd1d32e"
20875+
"hash": "4e24ef4cc4992ce313a521b0e1830799"
2087620876
},
2087720877
{
2087820878
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetBranchRulesTest.php",
@@ -20884,7 +20884,7 @@
2088420884
},
2088520885
{
2088620886
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetBranchRulesListing.php",
20887-
"hash": "97e7c705cefd4c931ea0306482da04db"
20887+
"hash": "20dbf4c6284ff6955ec87c5b018e5ece"
2088820888
},
2088920889
{
2089020890
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetBranchRulesListingTest.php",
@@ -24340,7 +24340,7 @@
2434024340
},
2434124341
{
2434224342
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
24343-
"hash": "c844bbb8acb7a53860f417408706cf84"
24343+
"hash": "cbba7a48f557af815a48ac1f7a6521e6"
2434424344
},
2434524345
{
2434624346
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -24616,7 +24616,7 @@
2461624616
},
2461724617
{
2461824618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php",
24619-
"hash": "02db131d7a46cc7db66c77922882bb32"
24619+
"hash": "53a1d6e0b1f8979b31f0dc4acbd08646"
2462024620
},
2462124621
{
2462224622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php",
@@ -24840,7 +24840,7 @@
2484024840
},
2484124841
{
2484224842
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
24843-
"hash": "1592d438d90b74b5de8e22353e18a4e0"
24843+
"hash": "07a5439e2e2ba1ce74ee3b591b121aea"
2484424844
},
2484524845
{
2484624846
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
@@ -24944,7 +24944,7 @@
2494424944
},
2494524945
{
2494624946
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
24947-
"hash": "63d0c6b7c1dd7ec9eca9728d2c1ca4ec"
24947+
"hash": "7579a0df9b97ccb18fd4808677b0fb20"
2494824948
},
2494924949
{
2495024950
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php",
@@ -27612,11 +27612,11 @@
2761227612
},
2761327613
{
2761427614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27615-
"hash": "23580fdcd0f3080d5c2b11ed768d1bf8"
27615+
"hash": "4f02e5b34a80cfafc1844f8d4fe755f8"
2761627616
},
2761727617
{
2761827618
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27619-
"hash": "04f52ce89ea0d42bac5e418c6d413ab2"
27619+
"hash": "082aa496c548d70ebcb9479d705b81ca"
2762027620
},
2762127621
{
2762227622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -31972,27 +31972,27 @@
3197231972
},
3197331973
{
3197431974
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleFilePathRestriction.php",
31975-
"hash": "6d184a7e43345415008725c652cdf6e3"
31975+
"hash": "d8cd900c0da1fe69fb7fbf72af2cb266"
3197631976
},
3197731977
{
3197831978
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleMaxFilePathLength.php",
31979-
"hash": "953005a0443948fed5909fdc0e5356ca"
31979+
"hash": "67823099e744effef9dfa39b156e2594"
3198031980
},
3198131981
{
3198231982
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleFileExtensionRestriction.php",
3198331983
"hash": "2bf22d93f7e6bcdb0c5c5a3dcfd84f16"
3198431984
},
3198531985
{
3198631986
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleMaxFileSize.php",
31987-
"hash": "b744cee366dd40e98b0fd5fc7d305ddb"
31987+
"hash": "fa28cf82ac5d40afd3bdb882889c6153"
3198831988
},
3198931989
{
3199031990
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleFilePathRestriction\/Parameters.php",
3199131991
"hash": "edd1c5afb5d01d0052f9fd94bf33e776"
3199231992
},
3199331993
{
3199431994
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleMaxFilePathLength\/Parameters.php",
31995-
"hash": "09fdf9035f0115ec0de2a01d77d50253"
31995+
"hash": "863a68e02be2d1703023b83f2ed2c589"
3199631996
},
3199731997
{
3199831998
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleFileExtensionRestriction\/Parameters.php",

clients/GitHub/src/Internal/Operator/Repos/GetBranchRules.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return iterable<int,Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
27+
/** @return Observable<Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
2828
public function call(string $owner, string $repo, string $branch, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetBranchRules($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $branch, $perPage, $page);

clients/GitHub/src/Internal/Operator/Repos/GetBranchRulesListing.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return iterable<int,Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
27+
/** @return Observable<Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
2828
public function call(string $owner, string $repo, string $branch, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHub\Internal\Operation\Repos\GetBranchRulesListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $branch, $perPage, $page);

clients/GitHub/src/Internal/Router/Get/Repos.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,7 @@ public function listReleaseAssets(array $params): iterable
27432743
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['release_id'], $arguments['per_page'], $arguments['page']);
27442744
}
27452745

2746-
/** @return iterable<int,Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
2746+
/** @return Observable<Schema\RepositoryRuleCreation|Schema\RepositoryRuleUpdate|Schema\RepositoryRuleDeletion|Schema\RepositoryRuleRequiredLinearHistory|Schema\RepositoryRuleMergeQueue|Schema\RepositoryRuleRequiredDeployments|Schema\RepositoryRuleRequiredSignatures|Schema\RepositoryRulePullRequest|Schema\RepositoryRuleRequiredStatusChecks|Schema\RepositoryRuleNonFastForward|Schema\RepositoryRuleCommitMessagePattern|Schema\RepositoryRuleCommitAuthorEmailPattern|Schema\RepositoryRuleCommitterEmailPattern|Schema\RepositoryRuleBranchNamePattern|Schema\RepositoryRuleTagNamePattern|Schema\RepositoryRuleFilePathRestriction|Schema\RepositoryRuleMaxFilePathLength|Schema\RepositoryRuleFileExtensionRestriction|Schema\RepositoryRuleMaxFileSize|Schema\RepositoryRuleWorkflows|Schema\RepositoryRuleCodeScanning> */
27472747
public function getBranchRules(array $params): iterable
27482748
{
27492749
$arguments = [];

0 commit comments

Comments
 (0)