Skip to content

Commit b59f772

Browse files
committed
Merge branch 'main' into copilot/add-forgejo-adapter-and-tests
2 parents a282d25 + 4f5b370 commit b59f772

File tree

5 files changed

+58
-57
lines changed

5 files changed

+58
-57
lines changed

composer.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VCS/Adapter/Git/GitHub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ public function getUser(string $username): array
637637
* Get owner name of the GitHub installation
638638
*
639639
* @param string $installationId GitHub App installation ID
640-
* @param int|null $repositoryId Not used by GitHub (parameter exists for Gitea compatibility)
640+
* @param int|null $repositoryId Not used by GitHub (parameter exists for this adapter compatibility)
641641
* @return string Owner login/username
642642
*/
643643
public function getOwnerName(string $installationId, ?int $repositoryId = null): string

src/VCS/Adapter/Git/Gitea.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function initializeVariables(string $installationId, string $privateKey,
7777
/**
7878
* Generate Access Token
7979
*
80-
* Note: This method is required by the Adapter interface but is not used for Gitea.
80+
* Note: This method is required by the Adapter interface but is not used for this adapter.
8181
* Gitea uses OAuth2 tokens that are provided directly via initializeVariables().
8282
*/
8383
protected function generateAccessToken(string $privateKey, string $appId): void

0 commit comments

Comments
 (0)