{"action":"created","issue":{"url":"https://api.github.com/repos/reactphp/filesystem/issues/8","labels_url":"https://api.github.com/repos/reactphp/filesystem/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/reactphp/filesystem/issues/8/comments","events_url":"https://api.github.com/repos/reactphp/filesystem/issues/8/events","html_url":"https://github.com/reactphp/filesystem/issues/8","id":70668109,"number":8,"title":"Move examples to a new markdown file or to `README.md`","user":{"login":"Zizaco","id":777635,"avatar_url":"https://avatars.githubusercontent.com/u/777635?v=3","gravatar_id":"","url":"https://api.github.com/users/Zizaco","html_url":"https://github.com/Zizaco","followers_url":"https://api.github.com/users/Zizaco/followers","following_url":"https://api.github.com/users/Zizaco/following{/other_user}","gists_url":"https://api.github.com/users/Zizaco/gists{/gist_id}","starred_url":"https://api.github.com/users/Zizaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zizaco/subscriptions","organizations_url":"https://api.github.com/users/Zizaco/orgs","repos_url":"https://api.github.com/users/Zizaco/repos","events_url":"https://api.github.com/users/Zizaco/events{/privacy}","received_events_url":"https://api.github.com/users/Zizaco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactphp/filesystem/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-24T11:42:31Z","updated_at":"2015-04-24T19:26:37Z","closed_at":null,"body":"The example code raise some \"bad practice warnings\" (which is understandable as the purpose of then is simply to illustrate the context of use). It would be nice to have an `examples.md` file that would explain and contain each of the examples.\r\n\r\nSee insight analysis:\r\nhttps://insight.sensiolabs.com/projects/ce37859a-e3a3-42b5-8d97-455465dc5c6f/analyses/2\r\n\r\nBy doing this, we will be able to focus in fix/solve the more complicated issues raised by the Insight.\r\n\r\n**edit:** I can send a PR on this if you wish (:"},"comment":{"url":"https://api.github.com/repos/reactphp/filesystem/issues/comments/96041843","html_url":"https://github.com/reactphp/filesystem/issues/8#issuecomment-96041843","issue_url":"https://api.github.com/repos/reactphp/filesystem/issues/8","id":96041843,"user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T19:26:37Z","updated_at":"2015-04-24T19:26:37Z","body":"Honestly I see more value in update the examples with neatly formatted output. The examples are they so developers can easily try features out. (E.g. just run `php examples/directory_ls.php` and see what is does.) Also wouldn't it be easier to let insight ignore the examples directory? (Personally I use scrutinizer for my personal projects.)"}}