Skip to content

Commit 63a82d9

Browse files
authored
Merge pull request #1555 from php-api-clients/GitHubEnterprise-3.15/from-1.1.4-0e6a4a1bd0678c8ca272e91b4354bf3a-from-1.1.4-0e6a4a1bd0678c8ca272e91b4354bf3a
2 parents 492979d + 65ca96c commit 63a82d9

36 files changed

+373
-92
lines changed

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

+43-39
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "531e13661f965ac04f0ddfe589e8a768",
2+
"specHash": "0e6a4a1bd0678c8ca272e91b4354bf3a",
33
"generatedFiles": {
44
"files": [
55
{
@@ -1604,11 +1604,11 @@
16041604
},
16051605
{
16061606
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/ListAlertsForEnterprise.php",
1607-
"hash": "0231ba82da6a9893a6507e9870156668"
1607+
"hash": "17b208c8bbb86b888e74cf63cc438eae"
16081608
},
16091609
{
16101610
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/SecretScanning\/ListAlertsForEnterprise.php",
1611-
"hash": "4bc5d6f123edc566d7b8a526bb4add05"
1611+
"hash": "a53ab95d403d167c4cc01534b7982d1e"
16121612
},
16131613
{
16141614
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/SecretScanning\/ListAlertsForEnterpriseTest.php",
@@ -4812,23 +4812,23 @@
48124812
},
48134813
{
48144814
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/ListAlertsForOrg.php",
4815-
"hash": "ebe957fd1625c433101a77c41360c45b"
4815+
"hash": "60df073fc54beca0fcd54532deb820a3"
48164816
},
48174817
{
48184818
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/SecretScanning\/ListAlertsForOrg.php",
4819-
"hash": "df0be2f42b31115c4cfe94d29007a7a9"
4819+
"hash": "3f571d60978cfd1cfaf29a085a3b7309"
48204820
},
48214821
{
48224822
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/SecretScanning\/ListAlertsForOrgTest.php",
48234823
"hash": "0651ab60f0c73d171da925eee851d38e"
48244824
},
48254825
{
48264826
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/ListAlertsForOrgListing.php",
4827-
"hash": "dece5a9b05864345454c39555c389434"
4827+
"hash": "8ba3c5c649c2416d5d6b514cf5aaef54"
48284828
},
48294829
{
48304830
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/SecretScanning\/ListAlertsForOrgListing.php",
4831-
"hash": "04b7e5d458c6abb8ec7873edd193a9cc"
4831+
"hash": "ddf7aa0871077b49e8608604db23555a"
48324832
},
48334833
{
48344834
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/SecretScanning\/ListAlertsForOrgListingTest.php",
@@ -7232,15 +7232,15 @@
72327232
},
72337233
{
72347234
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/CodeScanning\/UpdateAlert.php",
7235-
"hash": "4414595983724d58e1cdf5c09e8f409f"
7235+
"hash": "b7b8c2aaaf47299f09adbb2b88b5daf5"
72367236
},
72377237
{
72387238
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/UpdateAlert.php",
7239-
"hash": "0d58379475f7ab773df9ae4b3b7d84c5"
7239+
"hash": "fd3b96fa7070fd31d1490b2ae4861c54"
72407240
},
72417241
{
72427242
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/UpdateAlertTest.php",
7243-
"hash": "5e18056057b185cf3a4348a8b97f093c"
7243+
"hash": "78119db7046be60d7d867ad3af28c6fa"
72447244
},
72457245
{
72467246
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/CodeScanning\/ListAlertInstances.php",
@@ -10628,23 +10628,23 @@
1062810628
},
1062910629
{
1063010630
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/ListAlertsForRepo.php",
10631-
"hash": "4fc1bba338a9da930c88a78cb87329c3"
10631+
"hash": "c0641cd8ae323a57691371e4834b2712"
1063210632
},
1063310633
{
1063410634
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/SecretScanning\/ListAlertsForRepo.php",
10635-
"hash": "6ce3589ba60d1913c2b76a8bae5847f1"
10635+
"hash": "577f770ebbb8a15b8326d7474121d3fa"
1063610636
},
1063710637
{
1063810638
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/SecretScanning\/ListAlertsForRepoTest.php",
1063910639
"hash": "6ba5d4f4f0fb18246b2db198b9548da9"
1064010640
},
1064110641
{
1064210642
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/ListAlertsForRepoListing.php",
10643-
"hash": "5a37b821f6184e89905c5f120b94138f"
10643+
"hash": "9179d8e416689e27eab71e3d05eb6c09"
1064410644
},
1064510645
{
1064610646
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/SecretScanning\/ListAlertsForRepoListing.php",
10647-
"hash": "1dee4bf2412aded3977570b36ba1b5e7"
10647+
"hash": "1fd156690c8f36712caa02720855d32e"
1064810648
},
1064910649
{
1065010650
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/SecretScanning\/ListAlertsForRepoListingTest.php",
@@ -15412,15 +15412,15 @@
1541215412
},
1541315413
{
1541415414
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/ExemptionRequest\/ExemptionRequestData.php",
15415-
"hash": "1fc2f779d08ed5752c34175a6d602409"
15415+
"hash": "be43c3a32b264a082842b4342eeed775"
1541615416
},
1541715417
{
1541815418
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/ExemptionRequest\/Metadata.php",
15419-
"hash": "838b43367eb6df1a6caf3240812fc8e5"
15419+
"hash": "988efed4f7c1c3059ab0f63d472321a6"
1542015420
},
1542115421
{
1542215422
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/ExemptionRequest.php",
15423-
"hash": "5658982cf775d944e65e8d66e337f54f"
15423+
"hash": "bc1f73d90a1b2bbdf5c6f1ecdf0d6ce4"
1542415424
},
1542515425
{
1542615426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/SimpleCheckSuite.php",
@@ -26056,7 +26056,7 @@
2605626056
},
2605726057
{
2605826058
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanning\/UpdateAlert\/Request\/ApplicationJson.php",
26059-
"hash": "ffbb63d8bfc655b760e73bb0a84b41b7"
26059+
"hash": "ef09173d8d817efd8e1e4e81d9f0edcc"
2606026060
},
2606126061
{
2606226062
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanning\/UploadSarif\/Request\/ApplicationJson.php",
@@ -26728,7 +26728,7 @@
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecretScanning.php",
26731-
"hash": "bc73428e7d9e42ed9badc19bad71e9cb"
26731+
"hash": "050fa76b7131e2e730b1248529cb4d11"
2673226732
},
2673326733
{
2673426734
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php",
@@ -26848,7 +26848,7 @@
2684826848
},
2684926849
{
2685026850
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/List\/SecretScanning.php",
26851-
"hash": "1fec596505bf75591427f79980b7c03c"
26851+
"hash": "c62ca48a00921755b35a8b8a7b357f3f"
2685226852
},
2685326853
{
2685426854
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/List\/Pulls.php",
@@ -27084,7 +27084,7 @@
2708427084
},
2708527085
{
2708627086
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/CodeScanning.php",
27087-
"hash": "f4eded73dbc98d19cc03cd2545bc0a44"
27087+
"hash": "b169946b91470cd53c5ec292b35ad780"
2708827088
},
2708927089
{
2709027090
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Issues.php",
@@ -27208,15 +27208,15 @@
2720827208
},
2720927209
{
2721027210
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
27211-
"hash": "03a78049cc14a10e8b8ad6bf8778c4ab"
27211+
"hash": "43e123d904ad91affb4e18292130dc94"
2721227212
},
2721327213
{
2721427214
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
2721527215
"hash": "d1905900da5b62fabb0b324a38bb7279"
2721627216
},
2721727217
{
2721827218
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
27219-
"hash": "f44dd133d5a777f374149df2b549e928"
27219+
"hash": "57e1cd0431c002a99609afd769015d76"
2722027220
},
2722127221
{
2722227222
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -27248,11 +27248,11 @@
2724827248
},
2724927249
{
2725027250
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
27251-
"hash": "acd7909d2adc36a5541ecf4184f9e6ac"
27251+
"hash": "80934af4705b7c0eaa614cdb7db97b69"
2725227252
},
2725327253
{
2725427254
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
27255-
"hash": "48ef5001857b680a305472fbbc03d23e"
27255+
"hash": "41d737c1beb73b93d83b7e4725f104fb"
2725627256
},
2725727257
{
2725827258
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -27356,7 +27356,7 @@
2735627356
},
2735727357
{
2735827358
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Seven.php",
27359-
"hash": "619ee85831f1ccf3b4aa9570bc701fb6"
27359+
"hash": "e6af182f8222fb648cfc3c789507197c"
2736027360
},
2736127361
{
2736227362
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Patch\/Nine.php",
@@ -27420,11 +27420,11 @@
2742027420
},
2742127421
{
2742227422
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27423-
"hash": "057a0e66c0fac8be025f4333a6d16a9b"
27423+
"hash": "e4eff747111d5775c682f08dd59e5904"
2742427424
},
2742527425
{
2742627426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27427-
"hash": "0afba759e55aef88b3e3a19ce1993b10"
27427+
"hash": "d5915f612743de0fe849f83f6c162c29"
2742827428
},
2742927429
{
2743027430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27468,11 +27468,11 @@
2746827468
},
2746927469
{
2747027470
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
27471-
"hash": "035196723d9518e17e7f016fa71af9c8"
27471+
"hash": "254f6e3c029935a79e15b051e78e67ba"
2747227472
},
2747327473
{
2747427474
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
27475-
"hash": "75160b9f5f6f722926af37274c9fa6a9"
27475+
"hash": "2cf667fa5fe44d232492f95c3ad3ffd9"
2747627476
},
2747727477
{
2747827478
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/Dependabot.php",
@@ -29040,7 +29040,7 @@
2904029040
},
2904129041
{
2904229042
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber.php",
29043-
"hash": "b9452bc32629313c2650579a65f77f38"
29043+
"hash": "a926bd101b56e9d2fa2d26b4ba0ef2d2"
2904429044
},
2904529045
{
2904629046
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber\/Instances.php",
@@ -30291,20 +30291,24 @@
3029130291
"hash": "d0ca0c14c2d902d47122181008e84185"
3029230292
},
3029330293
{
30294-
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanningClosure.php",
30295-
"hash": "402d90be4e3731ec2090b344dd7be2cb"
30294+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookReleaseEdited\/Changes\/TagName.php",
30295+
"hash": "918a75e1fc3897bd242cdd1f3516cd1a"
3029630296
},
3029730297
{
30298-
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanningClosureMetadata.php",
30299-
"hash": "481b587324bb974972dd0edc53d33df7"
30298+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertCreateRequest.php",
30299+
"hash": "b1c32113d0944e1335325145d49ced03"
3030030300
},
3030130301
{
30302-
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/ExemptionRequestSecretScanningClosure\/Data.php",
30303-
"hash": "7e31b58800848793f0d914de6f592979"
30302+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/DismissalRequestSecretScanning.php",
30303+
"hash": "4311c37f93cd8a3fa3609969d2db5374"
3030430304
},
3030530305
{
30306-
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookReleaseEdited\/Changes\/TagName.php",
30307-
"hash": "918a75e1fc3897bd242cdd1f3516cd1a"
30306+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/DismissalRequestSecretScanningMetadata.php",
30307+
"hash": "4d08e7e942465ee37362f1f5a8df1060"
30308+
},
30309+
{
30310+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/DismissalRequestSecretScanning\/Data.php",
30311+
"hash": "2a8bbc4780615e5e98d79b6596143aaf"
3030830312
}
3030930313
]
3031030314
},

clients/GitHubEnterprise-3.15/src/Internal/Attribute/CastUnionToType/Schema/ExemptionRequest/ExemptionRequestData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
4141

4242
if ($signature === 'data|type' && $value['type'] === 'secret_scanning_closure') {
4343
try {
44-
return $hydrator->hydrateObject(Schema\ExemptionRequestSecretScanningClosure::class, $value);
44+
return $hydrator->hydrateObject(Schema\DismissalRequestSecretScanning::class, $value);
4545
} catch (Throwable) {
4646
}
4747
}

clients/GitHubEnterprise-3.15/src/Internal/Attribute/CastUnionToType/Schema/ExemptionRequest/Metadata.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
3434

3535
if ($signature === 'alert_title|reason' && ($value['reason'] === 'fixed_later' || $value['reason'] === 'false_positive' || $value['reason'] === 'tests' || $value['reason'] === 'revoked')) {
3636
try {
37-
return $hydrator->hydrateObject(Schema\ExemptionRequestSecretScanningClosureMetadata::class, $value);
37+
return $hydrator->hydrateObject(Schema\DismissalRequestSecretScanningMetadata::class, $value);
3838
} catch (Throwable) {
3939
}
4040
}

0 commit comments

Comments
 (0)