{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4588","labels_url":"https://api.github.com/repos/composer/composer/issues/4588/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4588/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4588/events","html_url":"https://github.com/composer/composer/pull/4588","id":115519985,"number":4588,"title":"Update code sample to a working one","user":{"login":"aurelienappere","id":8668806,"avatar_url":"https://avatars.githubusercontent.com/u/8668806?v=3","gravatar_id":"","url":"https://api.github.com/users/aurelienappere","html_url":"https://github.com/aurelienappere","followers_url":"https://api.github.com/users/aurelienappere/followers","following_url":"https://api.github.com/users/aurelienappere/following{/other_user}","gists_url":"https://api.github.com/users/aurelienappere/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelienappere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelienappere/subscriptions","organizations_url":"https://api.github.com/users/aurelienappere/orgs","repos_url":"https://api.github.com/users/aurelienappere/repos","events_url":"https://api.github.com/users/aurelienappere/events{/privacy}","received_events_url":"https://api.github.com/users/aurelienappere/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T14:56:41Z","updated_at":"2015-11-16T14:23:33Z","closed_at":"2015-11-06T16:16:15Z","pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/4588","html_url":"https://github.com/composer/composer/pull/4588","diff_url":"https://github.com/composer/composer/pull/4588.diff","patch_url":"https://github.com/composer/composer/pull/4588.patch"},"body":"This update matches the documentation sample: https://getcomposer.org/doc/05-repositories.md#path\r\nMoreover, it works while the previous one was not working with a `composer install`:\r\n```\r\nYour requirements could not be resolved to an installable set of packages.\r\nProblem 1\r\n  - The requested package xxx/yyy could not be found in any version, there may be a typo in the package name.\r\n[...]\r\n```"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/157045587","html_url":"https://github.com/composer/composer/pull/4588#issuecomment-157045587","issue_url":"https://api.github.com/repos/composer/composer/issues/4588","id":157045587,"user":{"login":"aurelienappere","id":8668806,"avatar_url":"https://avatars.githubusercontent.com/u/8668806?v=3","gravatar_id":"","url":"https://api.github.com/users/aurelienappere","html_url":"https://github.com/aurelienappere","followers_url":"https://api.github.com/users/aurelienappere/followers","following_url":"https://api.github.com/users/aurelienappere/following{/other_user}","gists_url":"https://api.github.com/users/aurelienappere/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelienappere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelienappere/subscriptions","organizations_url":"https://api.github.com/users/aurelienappere/orgs","repos_url":"https://api.github.com/users/aurelienappere/repos","events_url":"https://api.github.com/users/aurelienappere/events{/privacy}","received_events_url":"https://api.github.com/users/aurelienappere/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T14:23:33Z","updated_at":"2015-11-16T14:23:33Z","body":"@alcohol Could you please tell me why this PR was closed? The provided example in the code is not working and is different from the documentation (which has a working example).\r\nThanks :)"}}