chore(namespace): rewirtten namspeace from app to GitContributionGraph.

This commit is contained in:
2026-07-12 22:47:34 +02:00
parent 91bda21f89
commit 41e88144a4
35 changed files with 122 additions and 68 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
controllers:
resource:
path: ../src/Controller/
namespace: App\Controller
namespace: GitContributionGraph\Controller
type: attribute
+6 -6
View File
@@ -16,32 +16,32 @@ services:
autoconfigure: true
public: false
App\:
GitContributionGraph\:
resource: "../src/"
exclude:
- "../src/Kernel.php"
_instanceof:
App\Service\Provider\ProviderInterface:
GitContributionGraph\Service\Provider\ProviderInterface:
tags: ["app.provider"]
App\Service\Provider\GitHubProvider:
GitContributionGraph\Service\Provider\GitHubProvider:
arguments:
$username: "%env(GITHUB_USER)%"
$token: "%env(GITHUB_TOKEN)%"
App\Service\Provider\GitLabProvider:
GitContributionGraph\Service\Provider\GitLabProvider:
arguments:
$username: "%env(GITLAB_USER)%"
$token: "%env(GITLAB_TOKEN)%"
$baseUrl: "%env(GITLAB_URL)%"
App\Service\Provider\GiteaProvider:
GitContributionGraph\Service\Provider\GiteaProvider:
arguments:
$username: "%env(GITEA_USER)%"
$token: "%env(GITEA_TOKEN)%"
$baseUrl: "%env(GITEA_URL)%"
App\Service\ContributionStore:
GitContributionGraph\Service\ContributionStore:
arguments:
$dbPath: "%kernel.project_dir%/var/data/contributions.db"
$retentionDays: "%env(int:CONTRIBUTIONS_RETENTION_DAYS)%"