{"action":"opened","issue":{"url":"https://api.github.com/repos/lousson/record/issues/8","labels_url":"https://api.github.com/repos/lousson/record/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/lousson/record/issues/8/comments","events_url":"https://api.github.com/repos/lousson/record/issues/8/events","html_url":"https://github.com/lousson/record/issues/8","id":107147999,"number":8,"title":"Undefined variable - Empty filename or path ...","user":{"login":"LiNgOtT","id":1070881,"avatar_url":"https://avatars.githubusercontent.com/u/1070881?v=3","gravatar_id":"","url":"https://api.github.com/users/LiNgOtT","html_url":"https://github.com/LiNgOtT","followers_url":"https://api.github.com/users/LiNgOtT/followers","following_url":"https://api.github.com/users/LiNgOtT/following{/other_user}","gists_url":"https://api.github.com/users/LiNgOtT/gists{/gist_id}","starred_url":"https://api.github.com/users/LiNgOtT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiNgOtT/subscriptions","organizations_url":"https://api.github.com/users/LiNgOtT/orgs","repos_url":"https://api.github.com/users/LiNgOtT/repos","events_url":"https://api.github.com/users/LiNgOtT/events{/privacy}","received_events_url":"https://api.github.com/users/LiNgOtT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T07:23:28Z","updated_at":"2015-09-18T07:23:28Z","closed_at":null,"body":"Found undefined variable ($location) in method \\Lousson\\Record\\Builtin\\BuiltinRecordManager::determineMimeType in file lousson/record/src/php/Lousson/Record/Builtin/BuiltinRecordManager.php on line 263.\r\n\r\n> PHP Warning : Warning: finfo_file() [<a href='function.finfo-file'>function.finfo-file</a>]: Empty filename or path in lousson/record/src/php/Lousson/Record/Builtin/BuiltinRecordManager.php on line 263\r\n\r\n    $info = finfo_open(FILEINFO_MIME_TYPE);\r\n    $type = @finfo_file($info, (string) $location)?: null;\r\n    finfo_close($info);"}}