{"action":"created","issue":{"url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/10","labels_url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/10/comments","events_url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/10/events","html_url":"https://github.com/sensiolabs-de/deprecation-detector/issues/10","id":111956908,"number":10,"title":"Output failing file on syntax error","user":{"login":"umulmrum","id":6984809,"avatar_url":"https://avatars.githubusercontent.com/u/6984809?v=3","gravatar_id":"","url":"https://api.github.com/users/umulmrum","html_url":"https://github.com/umulmrum","followers_url":"https://api.github.com/users/umulmrum/followers","following_url":"https://api.github.com/users/umulmrum/following{/other_user}","gists_url":"https://api.github.com/users/umulmrum/gists{/gist_id}","starred_url":"https://api.github.com/users/umulmrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umulmrum/subscriptions","organizations_url":"https://api.github.com/users/umulmrum/orgs","repos_url":"https://api.github.com/users/umulmrum/repos","events_url":"https://api.github.com/users/umulmrum/events{/privacy}","received_events_url":"https://api.github.com/users/umulmrum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"slde-gorillaman","id":11751508,"avatar_url":"https://avatars.githubusercontent.com/u/11751508?v=3","gravatar_id":"","url":"https://api.github.com/users/slde-gorillaman","html_url":"https://github.com/slde-gorillaman","followers_url":"https://api.github.com/users/slde-gorillaman/followers","following_url":"https://api.github.com/users/slde-gorillaman/following{/other_user}","gists_url":"https://api.github.com/users/slde-gorillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/slde-gorillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slde-gorillaman/subscriptions","organizations_url":"https://api.github.com/users/slde-gorillaman/orgs","repos_url":"https://api.github.com/users/slde-gorillaman/repos","events_url":"https://api.github.com/users/slde-gorillaman/events{/privacy}","received_events_url":"https://api.github.com/users/slde-gorillaman/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-17T10:48:38Z","updated_at":"2015-10-17T12:36:14Z","closed_at":null,"body":"If a source file fails to compile, the detector aborts with an error message like this:\r\n\r\n[PhpParser\\Error]                        \r\nSyntax error, unexpected EOF on line 11 \r\n\r\nIn large projects there might be abandoned files that don't even compile, so I think it would be great to have the path of the file that fails.\r\n\r\nPerhaps it makes sense to continue the detection run even if some files fail."},"comment":{"url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/comments/148913828","html_url":"https://github.com/sensiolabs-de/deprecation-detector/issues/10#issuecomment-148913828","issue_url":"https://api.github.com/repos/sensiolabs-de/deprecation-detector/issues/10","id":148913828,"user":{"login":"slde-gorillaman","id":11751508,"avatar_url":"https://avatars.githubusercontent.com/u/11751508?v=3","gravatar_id":"","url":"https://api.github.com/users/slde-gorillaman","html_url":"https://github.com/slde-gorillaman","followers_url":"https://api.github.com/users/slde-gorillaman/followers","following_url":"https://api.github.com/users/slde-gorillaman/following{/other_user}","gists_url":"https://api.github.com/users/slde-gorillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/slde-gorillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slde-gorillaman/subscriptions","organizations_url":"https://api.github.com/users/slde-gorillaman/orgs","repos_url":"https://api.github.com/users/slde-gorillaman/repos","events_url":"https://api.github.com/users/slde-gorillaman/events{/privacy}","received_events_url":"https://api.github.com/users/slde-gorillaman/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T12:36:14Z","updated_at":"2015-10-17T12:36:14Z","body":"In order to continue execution, the \\SensioLabs\\DeprecationDetector\\RuleSet\\Traverser::traverse method could be enhanced with a third optional parameter ```$exclude = array()``` which could hold paths to directories or files to be excluded in traversing the rule set.\r\n\r\nAs far as I can tell, this is the only possible point in code to include skipping of \"broken\" files or folders"}}