{"action":"created","issue":{"url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/6","repository_url":"https://api.github.com/repos/cheprasov/php-redis-lock","labels_url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/6/comments","events_url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/6/events","html_url":"https://github.com/cheprasov/php-redis-lock/pull/6","id":256883003,"number":6,"title":"Use getmypid() which also works on Windows","user":{"login":"ariefwt","id":7259322,"avatar_url":"https://avatars3.githubusercontent.com/u/7259322?v=4","gravatar_id":"","url":"https://api.github.com/users/ariefwt","html_url":"https://github.com/ariefwt","followers_url":"https://api.github.com/users/ariefwt/followers","following_url":"https://api.github.com/users/ariefwt/following{/other_user}","gists_url":"https://api.github.com/users/ariefwt/gists{/gist_id}","starred_url":"https://api.github.com/users/ariefwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariefwt/subscriptions","organizations_url":"https://api.github.com/users/ariefwt/orgs","repos_url":"https://api.github.com/users/ariefwt/repos","events_url":"https://api.github.com/users/ariefwt/events{/privacy}","received_events_url":"https://api.github.com/users/ariefwt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-12T00:45:15Z","updated_at":"2017-09-27T08:12:54Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/cheprasov/php-redis-lock/pulls/6","html_url":"https://github.com/cheprasov/php-redis-lock/pull/6","diff_url":"https://github.com/cheprasov/php-redis-lock/pull/6.diff","patch_url":"https://github.com/cheprasov/php-redis-lock/pull/6.patch"},"body":"The previous implementation uses `posix_getpid`, which doesn't work on Windows. Since this package doesn't use any other POSIX features, I'd suggest switching it to a more portable `getmypid` instead 😃\r\n\r\nFor more information:\r\n* https://secure.php.net/manual/en/function.getmypid.php\r\n* https://secure.php.net/manual/en/function.posix-getpid.php\r\n* https://stackoverflow.com/questions/1176012/difference-between-getmypid-and-posix-getpid"},"comment":{"url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/comments/332444713","html_url":"https://github.com/cheprasov/php-redis-lock/pull/6#issuecomment-332444713","issue_url":"https://api.github.com/repos/cheprasov/php-redis-lock/issues/6","id":332444713,"user":{"login":"manuelbcd","id":10448961,"avatar_url":"https://avatars2.githubusercontent.com/u/10448961?v=4","gravatar_id":"","url":"https://api.github.com/users/manuelbcd","html_url":"https://github.com/manuelbcd","followers_url":"https://api.github.com/users/manuelbcd/followers","following_url":"https://api.github.com/users/manuelbcd/following{/other_user}","gists_url":"https://api.github.com/users/manuelbcd/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelbcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelbcd/subscriptions","organizations_url":"https://api.github.com/users/manuelbcd/orgs","repos_url":"https://api.github.com/users/manuelbcd/repos","events_url":"https://api.github.com/users/manuelbcd/events{/privacy}","received_events_url":"https://api.github.com/users/manuelbcd/received_events","type":"User","site_admin":false},"created_at":"2017-09-27T08:12:54Z","updated_at":"2017-09-27T08:12:54Z","author_association":"NONE","body":"@cheprasov May be we could develop a bunch of tests and mocks in order to automate this. If you want to talk we could design something."}}
{"actor":{"display_login":"manuelbcd"}}