├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src ├── Event │ ├── AbstractEvent.php │ ├── IssueEvent.php │ ├── MergeRequestEvent.php │ ├── PingEvent.php │ └── PushEvent.php ├── EventFactory.php ├── Provider │ ├── AbstractProvider.php │ ├── GithubProvider.php │ ├── GitlabProvider.php │ └── ProviderInterface.php ├── Struct │ ├── Commit.php │ ├── Repository.php │ └── User.php └── Util.php └── tests ├── Provider ├── GithubProviderTest.php ├── GitlabProviderTest.php └── _files │ ├── github │ ├── ping.json │ ├── pull_request.json │ ├── push.json │ └── tag.json │ └── gitlab │ ├── issue.json │ ├── merge_request.json │ ├── push.json │ └── tag.json └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | composer.lock -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Event/AbstractEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Event/AbstractEvent.php -------------------------------------------------------------------------------- /src/Event/IssueEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Event/IssueEvent.php -------------------------------------------------------------------------------- /src/Event/MergeRequestEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Event/MergeRequestEvent.php -------------------------------------------------------------------------------- /src/Event/PingEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Event/PingEvent.php -------------------------------------------------------------------------------- /src/Event/PushEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Event/PushEvent.php -------------------------------------------------------------------------------- /src/EventFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/EventFactory.php -------------------------------------------------------------------------------- /src/Provider/AbstractProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Provider/AbstractProvider.php -------------------------------------------------------------------------------- /src/Provider/GithubProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Provider/GithubProvider.php -------------------------------------------------------------------------------- /src/Provider/GitlabProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Provider/GitlabProvider.php -------------------------------------------------------------------------------- /src/Provider/ProviderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Provider/ProviderInterface.php -------------------------------------------------------------------------------- /src/Struct/Commit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Struct/Commit.php -------------------------------------------------------------------------------- /src/Struct/Repository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Struct/Repository.php -------------------------------------------------------------------------------- /src/Struct/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Struct/User.php -------------------------------------------------------------------------------- /src/Util.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/src/Util.php -------------------------------------------------------------------------------- /tests/Provider/GithubProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/GithubProviderTest.php -------------------------------------------------------------------------------- /tests/Provider/GitlabProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/GitlabProviderTest.php -------------------------------------------------------------------------------- /tests/Provider/_files/github/ping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/github/ping.json -------------------------------------------------------------------------------- /tests/Provider/_files/github/pull_request.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/github/pull_request.json -------------------------------------------------------------------------------- /tests/Provider/_files/github/push.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/github/push.json -------------------------------------------------------------------------------- /tests/Provider/_files/github/tag.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/github/tag.json -------------------------------------------------------------------------------- /tests/Provider/_files/gitlab/issue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/gitlab/issue.json -------------------------------------------------------------------------------- /tests/Provider/_files/gitlab/merge_request.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/gitlab/merge_request.json -------------------------------------------------------------------------------- /tests/Provider/_files/gitlab/push.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/gitlab/push.json -------------------------------------------------------------------------------- /tests/Provider/_files/gitlab/tag.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DavidBadura/git-webhooks/HEAD/tests/Provider/_files/gitlab/tag.json -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 |