{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/31837","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/31837/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/31837/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/31837/events","html_url":"https://github.com/owncloud/core/pull/31837","id":333942099,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MDM0OTk2","number":31837,"title":"Provide a pre-commit hooks which disallows commit if the code style f…","user":{"login":"DeepDiver1975","id":1005065,"node_id":"MDQ6VXNlcjEwMDUwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1005065?v=4","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"labels":[{"id":17709846,"node_id":"MDU6TGFiZWwxNzcwOTg0Ng==","url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed","default":false},{"id":751771728,"node_id":"MDU6TGFiZWw3NTE3NzE3Mjg=","url":"https://api.github.com/repos/owncloud/core/labels/status/STALE","name":"status/STALE","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"DeepDiver1975","id":1005065,"node_id":"MDQ6VXNlcjEwMDUwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1005065?v=4","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"assignees":[{"login":"DeepDiver1975","id":1005065,"node_id":"MDQ6VXNlcjEwMDUwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1005065?v=4","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/120","html_url":"https://github.com/owncloud/core/milestone/120","labels_url":"https://api.github.com/repos/owncloud/core/milestones/120/labels","id":3031526,"node_id":"MDk6TWlsZXN0b25lMzAzMTUyNg==","number":120,"title":"development","description":"10.0.10","creator":{"login":"PVince81","id":277525,"node_id":"MDQ6VXNlcjI3NzUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":69,"closed_issues":207,"state":"open","created_at":"2018-01-12T14:07:35Z","updated_at":"2018-07-24T13:01:55Z","due_on":"2018-08-24T07:00:00Z","closed_at":null},"comments":14,"created_at":"2018-06-20T06:37:05Z","updated_at":"2018-07-24T16:03:26Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/31837","html_url":"https://github.com/owncloud/core/pull/31837","diff_url":"https://github.com/owncloud/core/pull/31837.diff","patch_url":"https://github.com/owncloud/core/pull/31837.patch"},"body":"…ails\r\n\r\n## Description\r\nCommitting without having valid php code style in place is pointless.\r\nThis pre-commit hook runs make test-php-style and disallows to commit if the code style is wrong.\r\n\r\nPlease note that this does not automatically install the pre-commit hook. Each and every user has to locally install the hook script\r\n\r\n```sh\r\ncd .git/hooks\r\nln -s ../../build/git-hooks/pre-commit.sh pre-commit\r\n```\r\n\r\n## Screenshots (if appropriate):\r\n![screenshot from 2018-06-20 08-35-45](https://user-images.githubusercontent.com/1005065/41641262-0b62a470-7465-11e8-9623-04def4c0687d.png)\r\n![screenshot from 2018-06-20 08-36-06](https://user-images.githubusercontent.com/1005065/41641261-0b245e9a-7465-11e8-916d-6d3fdd034307.png)\r\n\r\n## Types of changes\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have read the **CONTRIBUTING** document.\r\n- [ ] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/407460593","html_url":"https://github.com/owncloud/core/pull/31837#issuecomment-407460593","issue_url":"https://api.github.com/repos/owncloud/core/issues/31837","id":407460593,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzQ2MDU5Mw==","user":{"login":"PVince81","id":277525,"node_id":"MDQ6VXNlcjI3NzUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T16:03:26Z","updated_at":"2018-07-24T16:03:26Z","author_association":"MEMBER","body":"my problems with the style checker have been solved already\r\n\r\ncarry on with the commit hook ?"}}
{"actor":{"display_login":"PVince81"}}