{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/data-fixtures/issues/19","labels_url":"https://api.github.com/repos/doctrine/data-fixtures/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/data-fixtures/issues/19/comments","events_url":"https://api.github.com/repos/doctrine/data-fixtures/issues/19/events","html_url":"https://github.com/doctrine/data-fixtures/pull/19","id":1147378,"number":19,"title":"check to see if file exists before attempting require_once in Loader","user":{"login":"jdodds","id":126290,"avatar_url":"https://avatars.githubusercontent.com/u/126290?v=3","gravatar_id":"","url":"https://api.github.com/users/jdodds","html_url":"https://github.com/jdodds","followers_url":"https://api.github.com/users/jdodds/followers","following_url":"https://api.github.com/users/jdodds/following{/other_user}","gists_url":"https://api.github.com/users/jdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/jdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdodds/subscriptions","organizations_url":"https://api.github.com/users/jdodds/orgs","repos_url":"https://api.github.com/users/jdodds/repos","events_url":"https://api.github.com/users/jdodds/events{/privacy}","received_events_url":"https://api.github.com/users/jdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2011-06-30T22:39:03Z","updated_at":"2015-03-23T00:19:57Z","closed_at":"2015-03-23T00:19:57Z","pull_request":{"url":"https://api.github.com/repos/doctrine/data-fixtures/pulls/19","html_url":"https://github.com/doctrine/data-fixtures/pull/19","diff_url":"https://github.com/doctrine/data-fixtures/pull/19.diff","patch_url":"https://github.com/doctrine/data-fixtures/pull/19.patch"},"body":"this skips over files that are obviously not meant to be required,\r\nsuch as temp files from editors when a file is open in a datafixtures\r\ndirectory with unsaved changes in it, while preserving the \"shut\r\ndown everything\" behaviour of \"require\".\r\n\r\nI figure that script-halting behavior could actually be beneficial here,\r\nand that that's why you're not using include_once. If the behavior of\r\nfile_exists wrt safe_mode is a problem, there are other ways of checking."},"comment":{"url":"https://api.github.com/repos/doctrine/data-fixtures/issues/comments/84736325","html_url":"https://github.com/doctrine/data-fixtures/pull/19#issuecomment-84736325","issue_url":"https://api.github.com/repos/doctrine/data-fixtures/issues/19","id":84736325,"user":{"login":"lavoiesl","id":1216046,"avatar_url":"https://avatars.githubusercontent.com/u/1216046?v=3","gravatar_id":"","url":"https://api.github.com/users/lavoiesl","html_url":"https://github.com/lavoiesl","followers_url":"https://api.github.com/users/lavoiesl/followers","following_url":"https://api.github.com/users/lavoiesl/following{/other_user}","gists_url":"https://api.github.com/users/lavoiesl/gists{/gist_id}","starred_url":"https://api.github.com/users/lavoiesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavoiesl/subscriptions","organizations_url":"https://api.github.com/users/lavoiesl/orgs","repos_url":"https://api.github.com/users/lavoiesl/repos","events_url":"https://api.github.com/users/lavoiesl/events{/privacy}","received_events_url":"https://api.github.com/users/lavoiesl/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T00:19:57Z","updated_at":"2015-03-23T00:19:57Z","body":"Closing as obsolete"}}