diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index 0b64152..e314335 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -9,4 +9,14 @@ jobs: - run: env | sort - run: composer install - run: composer fix + - name: GIT commit and push all changed files + env: + CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts + CI_COMMIT_AUTHOR: Continuous Integration + run: | + git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.email "username@users.noreply.github.com" + git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" + git push + diff --git a/src/Infrastructure/Finder.php b/src/Infrastructure/Finder.php index f7ad532..5ed9dd1 100644 --- a/src/Infrastructure/Finder.php +++ b/src/Infrastructure/Finder.php @@ -40,8 +40,7 @@ final class Finder /** * @return Listener[] */ - public function getListeners(): array - { + public function getListeners(): array { $this->populateClassnames(); return array_map( static fn (array $h): Listener @@ -53,8 +52,7 @@ final class Finder /** * @return Handler[] */ - public function getHandlers(): array - { + public function getHandlers(): array { $this->populateClassnames(); return array_map( static fn (array $h): Handler